summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules.c2
-rw-r--r--src/protocol/unreal32.c2
2 files changed, 2 insertions, 2 deletions
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);
}