Page 1 of 1

[6.03] Query statistics show secret channels and queries

Posted: 28.02.2012 02:16
by Tuxman
Bug:
The "query statistics" function does not check if the "active channel" is actually a channel, it also fails to determine a possible private/secret channel flag correctly.

Solution:
Open the mIRC script editor (Alt+R) with gamersirc.grc, scroll to line 6486:

Code: Select all

    if ((%query_stats) && ($nick != -psyBNC) && ($nick != -sBNC) && ($left($nick,1) != *)) { .timer 1 1 msg $nick $init_lang(Events,30) %stat_query $init_lang(Events,31) $chan(0) $init_lang(Events,32) $iif($regex($chan($active).mode, /\+*(k|p|s)\s/),n/a,$active) }
Replace that by:

Code: Select all

    if ((%query_stats) && ($nick != -psyBNC) && ($nick != -sBNC) && ($left($nick,1) != *)) { .timer 1 1 msg $nick $init_lang(Events,30) %stat_query $init_lang(Events,31) $chan(0) $init_lang(Events,32) $iif($active !ischan || $regex($chan($active).mode, /[^\s](p|s)/),n/a,$active) }
Status:
Fixed in the next Gamers.IRC version.

Patched files:
You can find all Gamers.IRC files with integrated hotfixes here.