mirror of
https://github.com/znc/znc.git
synced 2026-05-07 13:54:47 +02:00
Add OnNumericMessage() module hook (close #1069)
This commit is contained in:
@@ -652,6 +652,10 @@ bool CIRCSock::OnNumericMessage(CNumericMessage& Message) {
|
||||
CString sRest = Message.GetParams(1);
|
||||
CString sTmp;
|
||||
|
||||
bool bResult = false;
|
||||
IRCSOCKMODULECALL(OnNumericMessage(Message), &bResult);
|
||||
if (bResult) return true;
|
||||
|
||||
switch (uRaw) {
|
||||
case 1: { // :irc.server.com 001 nick :Welcome to the Internet Relay Network nick
|
||||
if (m_bAuthed && sServer == "irc.znc.in") {
|
||||
|
||||
Reference in New Issue
Block a user