mirror of
https://github.com/anope/anope.git
synced 2026-07-06 08:13:13 +02:00
Make messages.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1376 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+5
-1
@@ -120,8 +120,12 @@ int m_privmsg(const char *source, const char *receiver, const char *msg)
|
||||
|
||||
if (!u) {
|
||||
alog("%s: user record for %s not found", msg, source);
|
||||
ircdproto->SendMessage(receiver, source,
|
||||
/* Two lookups naughty, however, this won't happen often. -- w00t */
|
||||
if (findbot(receiver))
|
||||
{
|
||||
ircdproto->SendMessage(findbot(receiver), source,
|
||||
getstring(NULL, USER_RECORD_NOT_FOUND));
|
||||
}
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user