浏览代码

Merge branch 'ducch-371-take-ignores-cookies'

* ducch-371-take-ignores-cookies:
  * Update docs
  * Chanset +take will not set +fastop (only +bitch) (Fixes #371).
Bryan Drewery 15 年之前
父节点
当前提交
94b35e8448
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/tclchan.c

+ 1 - 0
doc/UPDATES

@@ -13,6 +13,7 @@
   * Change +bitch reaction to use normal queue for deopping opper/opped clients
   * cmd_mns_user now accepts multiple users (fixes #77)
   * Permanent owners can no longer be removed via cmd_mns_user
+  * Fix +take clearing -fastop (fixes #371)
 
 1.3.1 - http://wraith.botpack.net/milestone/1.3.1
   * Fix crash related to slowpart

+ 1 - 1
src/mod/channels.mod/tclchan.c

@@ -811,7 +811,7 @@ int channel_modify(char *result, struct chanset_t *chan, int items, char **item,
   }
 
   if ((chan->status ^ old_status) & CHAN_TAKE)
-    chan->status |= (CHAN_FASTOP|CHAN_BITCH);		// to avoid bots still mass opping from +take from not using cookies
+    chan->status |= CHAN_BITCH;		// to avoid bots still mass opping from +take from not using cookies
 
   if (!conf.bot->hub && (chan != chanset_default)) {
     if ((old_status ^ chan->status) & (CHAN_INACTIVE | CHAN_BACKUP)) {