1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 04:56:39 +02:00

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
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2008-05-12 18:08:31 +00:00
parent 1d467b95a8
commit d751db2d96
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -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]
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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);
}