diff options
| author | 2012-04-19 01:23:26 +0200 | |
|---|---|---|
| committer | 2012-04-19 01:23:26 +0200 | |
| commit | 811d816e77b4fd41fe3f51cbdc63ab5ef5291ebf (patch) | |
| tree | a46d912657afbc53de11f1a8de41cfc191d33c6d /src/users.cpp | |
| parent | No need to check elines twice.. (diff) | |
Avoid sending empty channel list numeric on whois if the target is not in any channels.
Diffstat (limited to 'src/users.cpp')
| -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()); } |
