Add generic handler for unsupported IRCd calls

This commit is contained in:
Mark 2004-02-16 22:47:04 +00:00
parent ca23bc43b7
commit 62805ca135

4
ircd.c
View file

@ -1107,8 +1107,8 @@ numeric (const int numeric, const char *target, const char *data, ...)
void
unsupported_cmd(const char* cmd)
{
chanalert (s_Services, "Warning, Module %s tried to %s which is not supported", segvinmodule, cmd);
nlog (LOG_NOTICE, LOG_CORE, "Warning, Module %s tried to %s, which is not supported", segvinmodule, cmd);
chanalert (s_Services, "Warning, %s tried to %s which is not supported", ((segvinmodule[0] != 0)? segvinmodule : ""), cmd);
nlog (LOG_NOTICE, LOG_CORE, "Warning, %s tried to %s, which is not supported", ((segvinmodule[0] != 0)? segvinmodule : ""), cmd);
}
int