diff options
| author | 2010-08-17 03:24:18 +0000 | |
|---|---|---|
| committer | 2010-08-17 03:24:18 +0000 | |
| commit | e2cd27bef31dfeef4ca59152c947b873045bae4c (patch) | |
| tree | 21b0ee797e66c2abf4338eaedc04ccd3fee18fcc /src/modules/tmphighlight | |
| parent | removed compilation warning for win32 (diff) | |
| download | KVIrc-e2cd27bef31dfeef4ca59152c947b873045bae4c.tar.gz KVIrc-e2cd27bef31dfeef4ca59152c947b873045bae4c.tar.bz2 KVIrc-e2cd27bef31dfeef4ca59152c947b873045bae4c.zip | |
Fix an undetected syntax error in tmphighlight.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4889 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/tmphighlight')
| -rw-r--r-- | src/modules/tmphighlight/libkvitmphighlight.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/tmphighlight/libkvitmphighlight.cpp b/src/modules/tmphighlight/libkvitmphighlight.cpp index 3c86498df..e61119f0b 100644 --- a/src/modules/tmphighlight/libkvitmphighlight.cpp +++ b/src/modules/tmphighlight/libkvitmphighlight.cpp @@ -57,7 +57,7 @@ static bool tmphighlight_kvs_cmd_addnick(KviKvsModuleCommandCall * c) if( !c->window()->console() )return c->context()->errorNoIrcContext(); if( c->window()->console()->isNotConnected() )return c->context()->errorNoIrcContext(); - if(!c->window()->type() == KVI_WINDOW_TYPE_CHANNEL) + if(c->window()->type() != KVI_WINDOW_TYPE_CHANNEL) { c->warning(__tr2qs("Current window is not a channel")); return false; @@ -95,7 +95,7 @@ static bool tmphighlight_kvs_cmd_removenick(KviKvsModuleCommandCall * c) if( !c->window()->console() )return c->context()->errorNoIrcContext(); if( c->window()->console()->isNotConnected() )return c->context()->errorNoIrcContext(); - if(!c->window()->type() == KVI_WINDOW_TYPE_CHANNEL) + if(c->window()->type() != KVI_WINDOW_TYPE_CHANNEL) { c->warning(__tr2qs("Current window is not a channel")); return false; @@ -148,7 +148,7 @@ static bool tmphighlight_kvs_cmd_addchannel(KviKvsModuleCommandCall * c) if( !pWnd->console() )return c->context()->errorNoIrcContext(); if( pWnd->console()->isNotConnected() )return c->context()->errorNoIrcContext(); - if(!pWnd->type() == KVI_WINDOW_TYPE_CHANNEL) + if(pWnd->type() != KVI_WINDOW_TYPE_CHANNEL) { c->warning(__tr2qs("Current window is not a channel")); return false; @@ -200,7 +200,7 @@ static bool tmphighlight_kvs_cmd_removechannel(KviKvsModuleCommandCall * c) if( !pWnd->console() )return c->context()->errorNoIrcContext(); if( pWnd->console()->isNotConnected() )return c->context()->errorNoIrcContext(); - if(!pWnd->type() == KVI_WINDOW_TYPE_CHANNEL) + if(pWnd->type() != KVI_WINDOW_TYPE_CHANNEL) { c->warning(__tr2qs("Current window is not a channel")); return false; @@ -238,7 +238,7 @@ static bool tmphighlight_kvs_fnc_isnickhighlighted(KviKvsModuleFunctionCall * c) if( !c->window()->console() )return c->context()->errorNoIrcContext(); if( c->window()->console()->isNotConnected() )return c->context()->errorNoIrcContext(); - if(!c->window()->type() == KVI_WINDOW_TYPE_CHANNEL) + if(c->window()->type() != KVI_WINDOW_TYPE_CHANNEL) { c->warning(__tr2qs("Current window is not a channel")); return false; @@ -288,7 +288,7 @@ static bool tmphighlight_kvs_fnc_ischannelhighlighted(KviKvsModuleFunctionCall * if( !pWnd->console() )return c->context()->errorNoIrcContext(); if( pWnd->console()->isNotConnected() )return c->context()->errorNoIrcContext(); - if(!pWnd->type() == KVI_WINDOW_TYPE_CHANNEL) + if(pWnd->type() != KVI_WINDOW_TYPE_CHANNEL) { c->warning(__tr2qs("Current window is not a channel")); return false; |
