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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user