[6.03] Query statistics show secret channels and queries

Hotfixes for outdated Gamers.IRC versions.
User avatar
Tuxman
Administrator
Posts: 1825
Joined: 24.10.2003 00:13
Status: That guy
Contact:

[6.03] Query statistics show secret channels and queries

Unread post by Tuxman » 28.02.2012 02:16

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.
^\__/
..O.o

This is Einkaufswagen. Copy Einkaufswagen into your signature to help him on his way to world domination.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest