Remove unused argument to CChan::RemMode()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1759 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-02-18 12:10:13 +00:00
parent 0d85b13785
commit b5bd0f1c9b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -308,7 +308,7 @@ void CChan::ModeChange(const CString& sModes, const CString& sOpNick) {
#endif
if (!bList) {
(bAdd) ? AddMode(uMode, sArg) : RemMode(uMode, sArg);
(bAdd) ? AddMode(uMode, sArg) : RemMode(uMode);
}
}
}
@@ -349,7 +349,7 @@ bool CChan::AddMode(unsigned char uMode, const CString& sArg) {
return true;
}
bool CChan::RemMode(unsigned char uMode, const CString& sArg) {
bool CChan::RemMode(unsigned char uMode) {
if (!HasMode(uMode)) {
return false;
}