1
0
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:
Robin Burchell w00t@inspircd.org
2008-10-02 23:16:37 +00:00
parent 750352d122
commit ed5c208488
+5 -1
View File
@@ -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;
}