From f5c4235bf63828a0b1a3d864614e985a27a217bd Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 13 Dec 2005 17:28:41 +0000 Subject: Added ability for channel lists to grow past one line in WHOIS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2374 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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) -- cgit v1.2.3