summaryrefslogtreecommitdiff
path: root/src/cmd_notice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_notice.cpp')
-rw-r--r--src/cmd_notice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp
index fbbeafec0..378c48f1e 100644
--- a/src/cmd_notice.cpp
+++ b/src/cmd_notice.cpp
@@ -102,7 +102,7 @@ void cmd_notice::Handle (const char** parameters, int pcnt, userrec *user)
return;
}
- ChanExceptSender(chan, user, status, "NOTICE %s :%s", chan->name, parameters[1]);
+ chan->WriteAllExceptSender(user, status, "NOTICE %s :%s", chan->name, parameters[1]);
FOREACH_MOD(I_OnUserNotice,OnUserNotice(user,chan,TYPE_CHANNEL,parameters[1],status));
}