summaryrefslogtreecommitdiff
path: root/src/cmd_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_list.cpp')
-rw-r--r--src/cmd_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp
index 3dbb3c2e2..ded20d077 100644
--- a/src/cmd_list.cpp
+++ b/src/cmd_list.cpp
@@ -34,7 +34,7 @@ void cmd_list::Handle (const char** parameters, int pcnt, userrec *user)
{
long users = i->second->GetUserCounter();
if (users)
- user->WriteServ("322 %s %s %d :[+%s] %s",user->nick,i->second->name,users,chanmodes(i->second,n),i->second->topic);
+ user->WriteServ("322 %s %s %d :[+%s] %s",user->nick,i->second->name,users,i->second->ChanModes(n),i->second->topic);
}
}
user->WriteServ("323 %s :End of channel list.",user->nick);