summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/send.c b/src/send.c
index 4f05d11ad..6ac67f748 100644
--- a/src/send.c
+++ b/src/send.c
@@ -98,7 +98,7 @@ void notice_server(char *source, Server * s, const char *fmt, ...)
va_start(args, fmt);
vsnprintf(buf, BUFSIZE - 1, fmt, args);
- if (NSDefFlags & NI_MSG) {
+ if (NSDefFlags.HasFlag(NI_MSG)) {
ircdproto->SendGlobalPrivmsg(findbot(source), s->name, buf);
} else {
ircdproto->SendGlobalNotice(findbot(source), s->name, buf);