aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_deaf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_deaf.cpp')
-rw-r--r--src/modules/m_deaf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index 2a7498cef..a4126ed81 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -78,7 +78,7 @@ class ModuleDeaf : public Module
{
Channel* chan = (Channel*)dest;
if (chan)
- this->BuildDeafList(MSG_NOTICE, chan, user, status, text, exempt_list);
+ this->BuildDeafList(chan, user, status, text, exempt_list);
}
return MOD_RES_PASSTHRU;
@@ -90,13 +90,13 @@ class ModuleDeaf : public Module
{
Channel* chan = (Channel*)dest;
if (chan)
- this->BuildDeafList(MSG_PRIVMSG, chan, user, status, text, exempt_list);
+ this->BuildDeafList(chan, user, status, text, exempt_list);
}
return MOD_RES_PASSTHRU;
}
- virtual void BuildDeafList(MessageType message_type, Channel* chan, User* sender, char status, const std::string &text, CUList &exempt_list)
+ virtual void BuildDeafList(Channel* chan, User* sender, char status, const std::string &text, CUList &exempt_list)
{
const UserMembList *ulist = chan->GetUsers();
bool is_a_uline;