diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 23:09:41 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 23:09:41 +0000 |
commit | c5a376cbc8068552a909de78fa1fcfe47ebb7334 (patch) | |
tree | e7fb1de344ea95baa5854220f9e51e9026d9ba71 /src/send.c | |
parent | 629422ed862ea56f40785f9918a448ae67c6f52a (diff) |
Removed notice_user() and replaced all calls with Used::SendMessage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2078 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/send.c')
-rw-r--r-- | src/send.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/send.c b/src/send.c index 6e3012714..4f05d11ad 100644 --- a/src/send.c +++ b/src/send.c @@ -110,32 +110,6 @@ void notice_server(char *source, Server * s, const char *fmt, ...) /*************************************************************************/ /** - * Send a notice to a user - * @param source Orgin of the Message - * @param u User Struct - * @param fmt Format of the Message - * @param ... any number of parameters - * @return void - */ -void notice_user(char *source, User * u, const char *fmt, ...) -{ - va_list args; - char buf[BUFSIZE]; - *buf = '\0'; - - if (fmt) { - va_start(args, fmt); - vsnprintf(buf, BUFSIZE - 1, fmt, args); - - u->SendMessage(source, "%s", buf); - - va_end(args); - } -} - -/*************************************************************************/ - -/** * Send a NULL-terminated array of text as NOTICEs. * @param source Orgin of the Message * @param dest Destination of the Notice |