mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Force a space between if, for, while and (
This was done via:
sed -ir 's/if(/if (/g; s/for(/for (/g; s/while(/while (/g' \
*.h *.cpp modules/*.cpp
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1030 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -247,10 +247,10 @@ void CClient::ReadLine(const CString& sData) {
|
||||
return; // Don't forward this msg. We don't want the client getting us disconnected.
|
||||
} else if (sCommand.CaseCmp("PROTOCTL") == 0) {
|
||||
unsigned int i = 1;
|
||||
while(!sLine.Token(i).empty()) {
|
||||
if(sLine.Token(i).CaseCmp("NAMESX") == 0) {
|
||||
while (!sLine.Token(i).empty()) {
|
||||
if (sLine.Token(i).CaseCmp("NAMESX") == 0) {
|
||||
m_bNamesx = true;
|
||||
} else if(sLine.Token(i).CaseCmp("UHNAMES") == 0) {
|
||||
} else if (sLine.Token(i).CaseCmp("UHNAMES") == 0) {
|
||||
m_bUHNames = true;
|
||||
}
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user