diff options
author | attilamolnar <am63770@gmail.com> | 2012-04-19 01:23:26 +0200 |
---|---|---|
committer | attilamolnar <am63770@gmail.com> | 2012-04-19 01:23:26 +0200 |
commit | 811d816e77b4fd41fe3f51cbdc63ab5ef5291ebf (patch) | |
tree | a46d912657afbc53de11f1a8de41cfc191d33c6d | |
parent | 3f5e6f3c1180cc72f520cfddf36f2ba90787b8ad (diff) |
Avoid sending empty channel list numeric on whois if the target is not in any channels.
-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()); } |