summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel/core_channel.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-16 16:49:37 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-16 16:49:37 +0200
commit930fd98e48f68b050d3938607bf420844fabbc37 (patch)
tree196f7099593b0f5d1a50de6c2f76a5254621d447 /src/coremods/core_channel/core_channel.cpp
parent127fe6ed1076c294e01925e4fa8ab2bd64c1b0e0 (diff)
Move Channel::UserList() from core to cmd_names
Diffstat (limited to 'src/coremods/core_channel/core_channel.cpp')
-rw-r--r--src/coremods/core_channel/core_channel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coremods/core_channel/core_channel.cpp b/src/coremods/core_channel/core_channel.cpp
index ac590ebcc..99ad74d3d 100644
--- a/src/coremods/core_channel/core_channel.cpp
+++ b/src/coremods/core_channel/core_channel.cpp
@@ -42,7 +42,9 @@ class CoreModChannel : public Module
{
if (chan->topicset)
Topic::ShowTopic(localuser, chan);
- chan->UserList(localuser);
+
+ // Show all members of the channel, including invisible (+i) users
+ cmdnames.SendNames(localuser, chan, true);
}
}