1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 07:23:14 +02:00

Allow userless command sources

This commit is contained in:
Adam
2012-06-18 05:04:30 -04:00
parent 873d4287de
commit 2dec8e767a
153 changed files with 1029 additions and 1060 deletions
+2 -2
View File
@@ -444,10 +444,10 @@ class MChanstats : public Module
query.setValue("smileys_other", smileys_other);
this->RunQuery(query);
}
void OnDelCore(User *u) anope_override
void OnDelCore(NickCore *nc) anope_override
{
query = "DELETE FROM `" + prefix + "chanstats` WHERE `nick` = @nick@;";
query.setValue("nick", GetDisplay(u));
query.setValue("nick", nc->display);
this->RunQuery(query);
}
void OnChangeCoreDisplay(NickCore *nc, const Anope::string &newdisplay) anope_override