mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-20 20:54:55 +00:00
15 lines
313 B
C#
15 lines
313 B
C#
|
|
// Written by LouCypher
|
||
|
|
package noChatError {
|
||
|
|
function IRCClient::notify(%event)
|
||
|
|
{
|
||
|
|
switch$(%event)
|
||
|
|
{
|
||
|
|
case IDIRC_ERR_DROPPED:
|
||
|
|
case IDIRC_ERR_TIMEOUT:
|
||
|
|
case IDIRC_ERROR: return;
|
||
|
|
default:
|
||
|
|
parent::notify(%event);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
if (!isActivePackage(noChatError)) activatePackage(noChatError);
|