summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index dbcd3f4f9..cb9391280 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -838,6 +838,10 @@ void split_chlist(userrec* user, userrec* dest, std::string &cl)
line = "";
}
}
+ if (line.length())
+ {
+ WriteServ(user->fd,"319 %s %s :%s",user->nick, dest->nick, line.c_str());
+ }
}
void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick)