mirror of
https://github.com/anope/anope.git
synced 2026-06-27 00:56:38 +02:00
fixed a bug in chanstats
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ Server::Server(Server *uplink, const Anope::string &name, unsigned hops, const A
|
||||
if (cm == NULL)
|
||||
cm = ModeManager::FindChannelModeByChar(ModeManager::GetStatusChar(want_modes[j]));
|
||||
if (cm && cm->Type == MODE_STATUS)
|
||||
c->SetModeInternal(bi ? finduser(bi->nick) : NULL, cm, bi->nick);
|
||||
c->SetModeInternal(bi, cm, bi->nick);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user