mirror of
https://github.com/znc/znc.git
synced 2026-07-01 23:41:36 +02:00
Added a return so you don't get double error messages
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@600 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-1
@@ -167,7 +167,7 @@ public:
|
||||
if (Channel.HasPerm(CChan::Op)) { // If we have ops in this chan
|
||||
for (map<CString, CAutoOpUser*>::iterator it = m_msUsers.begin(); it != m_msUsers.end(); it++) {
|
||||
if (it->second->HostMatches(Nick.GetHostMask()) && it->second->ChannelMatches(Channel.GetName())) { // and the nick who joined is a valid user
|
||||
m_msQueue[Nick.GetNick().AsLower()] = ""; // then insert this nick into the queue
|
||||
m_msQueue[Nick.GetNick().AsLower()] = ""; // then insert this nick into the queue
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -436,6 +436,7 @@ public:
|
||||
return true;
|
||||
} else {
|
||||
PutModule("WARNING! [" + Nick.GetNick() + "] sent a bad response. Please verify that you have their correct password.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user