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

Added cs_mode, rewrote the old list mode code, and added CIDR support

This commit is contained in:
Adam
2010-11-20 21:45:30 -05:00
parent a85112172d
commit 246f44b988
42 changed files with 1251 additions and 1291 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ class CommandCSSetPersist : public Command
if (ci->c && !ci->c->HasMode(CMODE_PERM))
ci->c->SetMode(NULL, cm);
/* Add it to the channels mlock */
ci->SetMLock(CMODE_PERM, true);
ci->SetMLock(cm, true);
}
}
@@ -81,7 +81,7 @@ class CommandCSSetPersist : public Command
if (ci->c && ci->c->HasMode(CMODE_PERM))
ci->c->RemoveMode(NULL, cm);
/* Remove from mlock */
ci->RemoveMLock(CMODE_PERM);
ci->RemoveMLock(cm);
}
/* No channel mode, no BotServ, but using ChanServ as the botserv bot