summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-05-12 18:08:31 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-05-12 18:08:31 +0000
commitd751db2d961cea64a9fcbcb01302e8a601d84c5d (patch)
tree25c0b4d0955ac7ec16764353e94a856d5b4ead53
parent1d467b95a8c276b8d439e74ceb0f906c046662ed (diff)
Fixed moduleNoticeLang and anope_cmd_notice_ops
git-svn-id: svn://svn.anope.org/anope/trunk@1394 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1109 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes2
-rw-r--r--src/modules.c2
-rw-r--r--src/protocol/unreal32.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/Changes b/Changes
index 1841d420b..bea19af9f 100644
--- a/Changes
+++ b/Changes
@@ -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);
}