mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user