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:
psychon
2008-04-20 13:08:44 +00:00
parent b0a1714b86
commit c64d7bc108
21 changed files with 126 additions and 126 deletions

View File

@@ -552,7 +552,7 @@ void CIRCSock::ReadLine(const CString& sData) {
} else if (sCmd.CaseCmp("MODE") == 0) {
CString sTarget = sRest.Token(0);
CString sModes = sRest.Token(1, true);
if(sModes.Left(1) == ":")
if (sModes.Left(1) == ":")
sModes = sModes.substr(1);
CChan* pChan = m_pUser->FindChan(sTarget);
@@ -579,7 +579,7 @@ void CIRCSock::ReadLine(const CString& sData) {
} else if (uMode == '-') {
bAdd = false;
} else {
if(bAdd) {
if (bAdd) {
m_scUserModes.insert(uMode);
} else {
m_scUserModes.erase(uMode);
@@ -709,7 +709,7 @@ void CIRCSock::ReadLine(const CString& sData) {
// :blub!dummy@rox-8DBEFE92 WALLOPS :this is a test
CString sMsg = sRest.Token(0, true);
if(sMsg.Left(1) == ":") {
if (sMsg.Left(1) == ":") {
sMsg.LeftChomp();
}
@@ -848,7 +848,7 @@ bool CIRCSock::OnChanCTCP(CNick& Nick, const CString& sChan, CString& sMessage)
// Record a /me
if (sMessage.Left(7).CaseCmp("ACTION ") == 0) {
sMessage = sMessage.substr(7);
if(pChan->KeepBuffer() || !m_pUser->IsUserAttached()) {
if (pChan->KeepBuffer() || !m_pUser->IsUserAttached()) {
pChan->AddBuffer(":" + Nick.GetNickMask() + " PRIVMSG " + sChan + " :\001ACTION " + m_pUser->AddTimestamp(sMessage) + "\001");
}
MODULECALL(OnChanAction(Nick, *pChan, sMessage), m_pUser, NULL, return true);