summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-04-18 23:49:57 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-04-18 23:49:57 -0700
commitb0611fabe709619b2b9cc5f339b5fe7adc7b9e72 (patch)
tree52a9446aed109af4d46a6db9d20ed33ceb076045
parent0b8cc8b535c6f8ad039fcae20452e799197b1c75 (diff)
parent811d816e77b4fd41fe3f51cbdc63ab5ef5291ebf (diff)
Merge pull request #84 from attilamolnar/insp20+whoisfix
[2.0] Avoid sending empty channel list numeric on whois
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index f8f9d0025..8b3065706 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1541,7 +1541,7 @@ void User::SplitChanList(User* dest, const std::string &cl)
}
}
- if (line.length())
+ if (line.length() != prefix.str().length())
{
ServerInstance->SendWhoisLine(this, dest, 319, "%s", line.c_str());
}