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

Shrink nick and channel default flags in db_old, otherwise converted nicks/channels always end up with the defaults enabled, even if they explicitly have them set off. Fix setting nickserv defaults to none.

This commit is contained in:
Adam
2013-11-21 17:31:18 -05:00
parent 1542937d64
commit c967a4ce88
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -274,6 +274,8 @@ class NickServCore : public Module, public NickServService
defaults.push_back("MEMO_SIGNON");
defaults.push_back("MEMO_RECEIVE");
}
else if (defaults[0].equals_ci("none"))
defaults.clear();
}
void OnDelNick(NickAlias *na) anope_override