mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
This avoids your irc windows being filled with away stuff
Downside of antiidle is that because it messages yourself internally the irc server will send messages to you when you're marked as away. This can end up being really annoying, so those messages are blocked with these changes. Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This commit is contained in:
@@ -72,6 +72,15 @@ public:
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual EModRet OnRaw(CString &sLine)
|
||||
{
|
||||
VCString splitted;
|
||||
sLine.Split(" ",splitted);
|
||||
if(splitted[1] == "301" && splitted[2].Equals(m_pNetwork->GetIRCNick().GetNick()))
|
||||
return HALT;
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
private:
|
||||
void SetInterval(int i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user