summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:44:47 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:44:47 +0000
commitc48429eb7515583de22bc8134493b3bfad2df0c4 (patch)
tree5cd81bb541214fd471872d3c39338c0a372fd3ba /src/ircd.c
parent765f561952d1a77a445128d7cbdc0da0a16c1706 (diff)
Replaced anope_SendNoticeChanops() with direct call to SendNoticeChanops() in IRCDProto class.
Also added SendNoticeChanopsInternal() function to IRCDProto class, now SendNoticeChanops() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1332 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ircd.c b/src/ircd.c
index f347e0014..999bbf515 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -43,18 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
-void anope_SendNoticeChanops(const char *source, const char *dest, const char *fmt, ...)
-{
- va_list args;
- char buf[BUFSIZE] = "";
- if (fmt) {
- va_start(args, fmt);
- vsnprintf(buf, BUFSIZE - 1, fmt, args);
- va_end(args);
- }
- ircdproto->SendNoticeChanops(source, dest, buf);
-}
-
void anope_cmd_message(const char *source, const char *dest, const char *fmt, ...)
{
va_list args;