summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-13 17:28:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-13 17:28:41 +0000
commitf5c4235bf63828a0b1a3d864614e985a27a217bd (patch)
tree898cd857786c302965b1a2bcb09cfb352fac7709
parent106d2fc72534d5f3ed3a4cfd776371482565e7a5 (diff)
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
-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)