summaryrefslogtreecommitdiff
path: root/protocols/IRCG/commandmonitor.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /protocols/IRCG/commandmonitor.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/commandmonitor.cpp')
-rw-r--r--protocols/IRCG/commandmonitor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/IRCG/commandmonitor.cpp b/protocols/IRCG/commandmonitor.cpp
index 25f07a79ed..0f39828891 100644
--- a/protocols/IRCG/commandmonitor.cpp
+++ b/protocols/IRCG/commandmonitor.cpp
@@ -172,7 +172,7 @@ VOID CALLBACK OnlineNotifTimerProc( HWND, UINT, UINT_PTR idEvent, DWORD )
if ( DBNick && ( !DBWildcard || !WCCmp(CharLower(DBWildcard), CharLower(DBNick))))
ppro->m_namesToWho += CMString(DBNick) + _T(" ");
- else if( DBWildcard )
+ else if ( DBWildcard )
ppro->m_namesToWho += CMString(DBWildcard) + _T(" ");
if ( DBNick ) DBFreeVariant(&dbv);
@@ -545,7 +545,7 @@ bool CIrcProto::OnIrc_MODE( const CIrcMessage* pmsg )
}
else if (*p1 != 'b' && *p1 != ' ' && *p1 != '+' && *p1 != '-' ) {
bContainsValidModes = true;
- if(*p1 != 'l' && *p1 != 'k')
+ if (*p1 != 'l' && *p1 != 'k')
sModes += *p1;
flag = true;
}
@@ -669,7 +669,7 @@ bool CIrcProto::OnIrc_YOURHOST( const CIrcMessage* pmsg )
if ( pmsg->m_bIncoming ) {
static const TCHAR* lpszFmt = _T("Your host is %99[^ \x5b,], running version %99s");
TCHAR szHostName[100], szVersion[100];
- if( _stscanf(pmsg->parameters[1].c_str(), lpszFmt, &szHostName, &szVersion) > 0 )
+ if ( _stscanf(pmsg->parameters[1].c_str(), lpszFmt, &szHostName, &szVersion) > 0 )
m_info.sServerName = szHostName;
if ( pmsg->parameters[0] != m_info.sNick)
m_info.sNick = pmsg->parameters[0];
@@ -940,7 +940,7 @@ bool CIrcProto::IsCTCP( const CIrcMessage* pmsg )
// if all characters are number it indicates we have found the adress, port and size parameters
int ind = 0;
while ( sTemp[ind] != '\0' ) {
- if( !_istdigit( sTemp[ind] ))
+ if ( !_istdigit( sTemp[ind] ))
break;
ind++;
}
@@ -1005,7 +1005,7 @@ bool CIrcProto::IsCTCP( const CIrcMessage* pmsg )
int ind = 0;
while ( sTemp[ind] != '\0' ) {
- if( !_istdigit( sTemp[ind] ))
+ if ( !_istdigit( sTemp[ind] ))
break;
ind++;
}
@@ -1183,7 +1183,7 @@ bool CIrcProto::IsCTCP( const CIrcMessage* pmsg )
di->bTurbo = bTurbo;
di->bSSL = false;
di->bReverse = (iPort == 0 && !sToken.IsEmpty() ) ? true : false;
- if( di->bReverse )
+ if ( di->bReverse )
di->sToken = sTokenBackup;
setTString(hContact, "User", pmsg->prefix.sUser.c_str());