summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index f697c4670..7dcb86d38 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -89,7 +89,7 @@ class cmd_check : public command_t
user->WriteServ(checkstr + " onport " + ConvToStr(targuser->GetPort()));
}
- chliststr = chlist(targuser, targuser);
+ chliststr = targuser->ChannelList(targuser);
std::stringstream dump(chliststr);
Srv->DumpText(user,checkstr + " onchans ", dump);