summaryrefslogtreecommitdiff
path: root/src/cmd_whois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_whois.cpp')
-rw-r--r--src/cmd_whois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_whois.cpp b/src/cmd_whois.cpp
index 600751585..5f980750b 100644
--- a/src/cmd_whois.cpp
+++ b/src/cmd_whois.cpp
@@ -50,12 +50,12 @@ void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long i
{
user->WriteServ("378 %s %s :is connecting from *@%s %s",user->nick, dest->nick, dest->host, dest->GetIPString());
}
- std::string cl = chlist(dest,user);
+ std::string cl = dest->ChannelList(user);
if (cl.length())
{
if (cl.length() > 400)
{
- split_chlist(user,dest,cl);
+ user->SplitChanList(dest,cl);
}
else
{