diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:06:00 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:06:00 +0000 |
commit | 552c4a47b18a3373b46512a00bfce360f30a5cea (patch) | |
tree | 3a458d3c53bfe78d63c28fe520b2dd83b9a0d11f /src/log.c | |
parent | 8001cc147dded5bb8acefe6cb93d6defb3f92562 (diff) |
Replaced anope_cmd_privmsg() and privmsg() with direct call to SendPrivmsg() in IRCDProto class.
Added SendPrivmsgInternal() function to IRCDProto class, now SendPrivmsg() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1335 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -6,9 +6,9 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * - * $Id$ + * Based on the original code of Services by Andy Church. + * + * $Id$ * */ @@ -177,7 +177,7 @@ void alog(const char *fmt, ...) fprintf(stderr, "%s %s\n", buf, str); } if (LogChannel && logchan && !debug && findchan(LogChannel)) { - privmsg(s_GlobalNoticer, LogChannel, "%s", str); + ircdproto->SendPrivmsg(s_GlobalNoticer, LogChannel, "%s", str); } errno = errno_save; } @@ -294,7 +294,7 @@ void fatal_perror(const char *fmt, ...) /*************************************************************************/ -/* Same thing, but do it like perror(). +/* Same thing, but do it like perror(). * This is for socket errors. On *nix, it works just like fatal_perror, * on Win32, it uses the socket error code and formatting functions. */ |