[6.04] * /if: invalid format (line 7139, gamersirc.grc)

Hotfixes for outdated Gamers.IRC versions.
Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
chris1
Administrator
Posts: 2973
Joined: 11.09.2003 20:17
Status: Gamers.IRC Coder
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

[6.04] * /if: invalid format (line 7139, gamersirc.grc)

Unread post by chris1 » 11.07.2012 08:44

Bug:
You see this error message in the status window:
* /if: invalid format (line 7139, gamersirc.grc)
Solution:
Open the mIRC script editor (Alt+R) with gamersirc.grc, scroll to line 7139:

Code: Select all

  if ($left($2,1) == $chr(42)) || ($2 == %haltraw401) || ($2 == -psyBNC)) { haltdef }
Replace that by:

Code: Select all

  if (($left($2,1) == $chr(42)) || ($2 == %haltraw401) || ($2 == -psyBNC)) { haltdef }
Status:
Fixed in the next Gamers.IRC version.

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

Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable