diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2012-04-08 12:43:34 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2012-04-08 12:43:34 +0200 |
commit | deb5196101bb14d6656fb89b9ec9e5f8b96eb31d (patch) | |
tree | 733001e6fc4af6cb2a42915d586e448dde742f77 /src/servers.cpp | |
parent | 9e1fda2a44dee120e26acc6e51fbe779eea97712 (diff) |
Added Chanstats. It uses a new, improved database format and is not compatible with current phpdenora or magirc installations.
Diffstat (limited to 'src/servers.cpp')
-rw-r--r-- | src/servers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.cpp b/src/servers.cpp index 51b47f6c7..6ccd4c403 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -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(cm, bi->nick); + c->SetModeInternal(bi ? finduser(bi->nick) : NULL, cm, bi->nick); } } } |