diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | src/modules.c | 2 | ||||
-rw-r--r-- | src/protocol/unreal32.c | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -42,6 +42,8 @@ Anope Version S V N 02/12 F Removed extra loop when parsing defcon modes. [#867] 02/21 F Fixed errors in lang files related to NS SASET LANGUAGE [#881] 04/30 F Operators can now also use NickServ INFO ALL. [ #00] +05/12 F anope_cmd_notice_ops for unreal now includes source. [ #00] +05/12 F moduleNoticeLang() now calls notice_user instead of notice(). [ #00] Provided by Trystan <trystan@nomadirc.net> - 2008 02/11 F Last part of memory leak in cs_akick() [#870] diff --git a/src/modules.c b/src/modules.c index b71fd4f8b..a87f47ca9 100644 --- a/src/modules.c +++ b/src/modules.c @@ -2630,7 +2630,7 @@ void moduleNoticeLang(char *source, User * u, int number, ...) if (*s) *s++ = '\0'; strscpy(outbuf, t, sizeof(outbuf)); - notice(source, u->nick, "%s", outbuf); + notice_user(source, u, "%s", outbuf); } free(buf); } else { diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 893a56b1d..83a41f1c9 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -654,7 +654,7 @@ void unreal_cmd_notice_ops(char *source, char *dest, char *buf) return; } - send_cmd(NULL, "%s @%s :%s", send_token("NOTICE", "B"), dest, buf); + send_cmd(source, "%s @%s :%s", send_token("NOTICE", "B"), dest, buf); } |