diff options
author | Robin Burchell <viroteck@viroteck.net> | 2012-04-18 23:49:57 -0700 |
---|---|---|
committer | Robin Burchell <viroteck@viroteck.net> | 2012-04-18 23:49:57 -0700 |
commit | b0611fabe709619b2b9cc5f339b5fe7adc7b9e72 (patch) | |
tree | 52a9446aed109af4d46a6db9d20ed33ceb076045 /src | |
parent | 0b8cc8b535c6f8ad039fcae20452e799197b1c75 (diff) | |
parent | 811d816e77b4fd41fe3f51cbdc63ab5ef5291ebf (diff) |
Merge pull request #84 from attilamolnar/insp20+whoisfix
[2.0] Avoid sending empty channel list numeric on whois
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 2 |
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()); } |