diff options
Diffstat (limited to 'src/send.c')
| -rw-r--r-- | src/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/send.c b/src/send.c index d40110072..f79398f6f 100644 --- a/src/send.c +++ b/src/send.c @@ -99,9 +99,9 @@ void notice_server(char *source, Server * s, const char *fmt, ...) vsnprintf(buf, BUFSIZE - 1, fmt, args); if (Config.NSDefFlags.HasFlag(NI_MSG)) { - ircdproto->SendGlobalPrivmsg(findbot(source), s->name, buf); + ircdproto->SendGlobalPrivmsg(findbot(source), s, buf); } else { - ircdproto->SendGlobalNotice(findbot(source), s->name, buf); + ircdproto->SendGlobalNotice(findbot(source), s, buf); } va_end(args); } |
