1
0
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:
DukePyrolator
2012-04-13 18:33:22 +02:00
parent 7372b457cc
commit b752c3a668
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -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);
}
}
}