Add generic handler for unsupported IRCd calls
This commit is contained in:
parent
ca23bc43b7
commit
62805ca135
1 changed files with 2 additions and 2 deletions
4
ircd.c
4
ircd.c
|
@ -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
|
||||
|
|
Reference in a new issue