Fixed boost string comparison. Oo.
This commit is contained in:
1 parent
f019523879
commit
d0cea553df
2 files changed
+4
-4
No files matched your search
@@ -157,7 +157,7 @@ irc_event_channel(irc_session_t *session, const char * /*irc_event*/, const char
|
||||
{
|
||||
IrcContext *context = (IrcContext *) irc_get_ctx(session);
|
||||
|
||||
if (count >= 2 && boost::algorithm::iequals(context->channel, params[0]) == 0) // check whether this message is for our channel
|
||||
if (count >= 2 && boost::algorithm::iequals(context->channel, params[0])) // check whether this message is for our channel
|
||||
{
|
||||
// Signal the message (if any) to GUI.
|
||||
if (*params[1] != 0)
|
||||
|
||||
Reference in new issue
Block a user