Add antiidle module and buffer WALLOPS in the query buffer

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@798 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2007-05-16 21:47:46 +00:00
parent ecdb78604d
commit 6a6ae0ed94
5 changed files with 114 additions and 9 deletions
+4
View File
@@ -634,6 +634,10 @@ void CIRCSock::ReadLine(const CString& sData) {
m_pUser->PutUser(":" + Nick.GetNickMask() + " PRIVMSG " + sTarget + " :" + sMsg);
return;
}
} else if (sCmd.CaseCmp("WALLOPS") == 0) {
// :blub!dummy@rox-8DBEFE92 WALLOPS :this is a test
CString sMsg = sRest.Token(0, true);
m_pUser->AddQueryBuffer(":" + Nick.GetNickMask() + " WALLOPS ", sMsg, false);
}
}
}