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

Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags bitsets for modes to not use a max defined value, it can go over

This commit is contained in:
Adam
2010-07-29 23:08:47 -04:00
parent cc64903179
commit abfc9926db
10 changed files with 20 additions and 18 deletions
+2
View File
@@ -1030,6 +1030,8 @@ int anope_event_capab(const Anope::string &source, int ac, const char **av)
um = new UserMode(UMODE_HIDEOPER, "UMODE_HIDEOPER", modechar[0]);
else if (modename.equals_cs("invisible"))
um = new UserMode(UMODE_INVIS, "UMODE_INVIS", modechar[0]);
else if (modename.equals_cs("invis-oper"))
um = new UserMode(UMODE_INVISIBLE_OPER, "UMODE_INVISIBLE_OPER", modechar[0]);
else if (modename.equals_cs("oper"))
um = new UserMode(UMODE_OPER, "UMODE_OPER", modechar[0]);
else if (modename.equals_cs("regdeaf"))