summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:50:20 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:50:20 +0000
commita22c4bf1daa18e11141a94ecd20dfd8af4944adb (patch)
tree1c26b4c7f7a6c32a62a711790d9da6dd58d5bc32 /src
parentc48429eb7515583de22bc8134493b3bfad2df0c4 (diff)
Replaced anope_cmd_message() with direct call to SendMessage() in IRCDProto class.
Also added SendMessageInternal() function to IRCDProto class, now SendMessage() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1333 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index e6033627e..87d466562 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -120,7 +120,7 @@ int m_privmsg(const char *source, const char *receiver, const char *msg)
if (!u) {
alog("%s: user record for %s not found", msg, source);
- anope_cmd_message(receiver, source,
+ ircdproto->SendMessage(receiver, source,
getstring(NULL, USER_RECORD_NOT_FOUND));
return MOD_CONT;
}