mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-30 01:26:38 +02:00
Get rid of warning on-boot "Channel modes changed at runtime"
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ void extcmodes_check_for_changes(void)
|
||||
|
||||
IsupportSetValue(isup, chanmodes);
|
||||
|
||||
if (strcmp(chanmodes, previous_chanmodes))
|
||||
if (*previous_chanmodes && strcmp(chanmodes, previous_chanmodes))
|
||||
{
|
||||
ircd_log(LOG_ERROR, "Channel modes changed at runtime: %s -> %s",
|
||||
previous_chanmodes, chanmodes);
|
||||
|
||||
Reference in New Issue
Block a user