svn: 801
@@ -9,6 +9,7 @@ This is a summary of ChangeLog basically.
6.Added AUTH cmds: md5, sha1.
7.First time logins were broken.
8.Cleaned up some code here and there (small fixes).
+9.With +nomop set in a chan, a mass op will trigger enforce_bitch() now, regardless of +bitch.
1.1.3
1.Fixed a very fatal bug with channel ctcps.
@@ -981,7 +981,7 @@ void check_this_user(char *hand, int delete, char *host)
}
-void enforce_bitch(struct chanset_t *chan) {
+static void enforce_bitch(struct chanset_t *chan) {
if (!chan || !me_op(chan)) return;
priority_do(chan, 1, PRIO_DEOP);
@@ -1299,6 +1299,7 @@ static int gotmode(char *from, char *msg)
+ enforce_bitch(chan); /* deop quick! */