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:
prozacx
2006-01-29 04:33:45 +00:00
parent f16c1175d8
commit 6ae7745c15
+2 -1
View File
@@ -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;
}
}
}