kvirc / KVIrc

The KVIrc IRC Client
http://www.kvirc.net/
GNU General Public License v2.0
244 stars 74 forks source link

crash at function usage $chan.banlist(window_id) and other #500

Closed DarthGandalf closed 9 years ago

DarthGandalf commented 9 years ago

Reported by Alvis on 22 Jul 2009 20:59:40 UTC Function chan_kvs_fnc_banlist are contained by an incorrect code:

KviPointerList<KviMaskEntry> * l = ((KviChannel *)(c->window()))->banList();

It is necessary will replace for the line:

KviPointerList<KviMaskEntry> * l = ch->banList();

Similar errors are in functions: chan_kvs_fnc_banexceptionlist, chan_kvs_fnc_invitelist, chan_kvs_fnc_matchban and other


Migrated from: https://svn.kvirc.de/kvirc/ticket/500

DarthGandalf commented 9 years ago

Comment by ctrlaltca on 23 Jul 2009 12:39:47 fixed in r3369; thank you, nice catch :)


Resolution: none → fixed Status: new → closed