mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
And fix a shitload of trailing whitespaces and space / tab mixups in ZNC
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@959 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
4
Chan.cpp
4
Chan.cpp
@@ -172,7 +172,7 @@ CString CChan::GetModeString() const {
|
||||
|
||||
CString CChan::GetModeForNames() const {
|
||||
CString sMode;
|
||||
|
||||
|
||||
for (map<unsigned char, CString>::const_iterator it = m_musModes.begin(); it != m_musModes.end(); it++) {
|
||||
if (it->first == 's') {
|
||||
sMode = "@";
|
||||
@@ -183,7 +183,7 @@ CString CChan::GetModeForNames() const {
|
||||
|
||||
return (sMode.empty() ? "=" : sMode);
|
||||
}
|
||||
|
||||
|
||||
void CChan::SetModes(const CString& sModes) {
|
||||
m_musModes.clear();
|
||||
m_uLimit = 0;
|
||||
|
||||
Reference in New Issue
Block a user