diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_safelist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 0c6f7df81..358d54eda 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -198,7 +198,7 @@ class ModuleSafeList : public Module bool display = (match(chan->name, ld->glob.c_str()) || (*chan->topic && match(chan->topic, ld->glob.c_str()))); if ((users) && (display)) { - int counter = snprintf(buffer, MAXBUF, "322 %s %s %ld :[+%s] %s",user->nick, chan->name, users, chan->ChanModes(has_user), chan->topic); + int counter = snprintf(buffer, MAXBUF, "322 %s %s %ld :[+%s] %s",user->nick, chan->name, users, chan->ChanModes(has_user || IS_OPER(user)), chan->topic); amount_sent += counter + ServerNameSize; user->WriteServ(std::string(buffer)); } |