Преглед изворни кода

* Port [3571] to 1.2.14
* Fixed +take opping the wrong clients due to desync (+take now sets +bitch)


svn: 3572

Bryan Drewery пре 18 година
родитељ
комит
c64bcc1949
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/tclchan.c

+ 1 - 0
doc/UPDATES

@@ -61,6 +61,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Default servers/servers6/alias list updated ('set -YES var -' to use it)
 * Fix MODE parsing bug
 * Bot no longer requires (or uses) '-B' to spawn bots. (now: ./binary <botnick>)
+* Fixed +take opping the wrong clients due to desync (+take now sets +bitch)
 
 1.2.13 - http://wraith.shatow.net/milestone/1.2.13
 * Fix cmd_chanset accepting invalid flags

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

@@ -722,7 +722,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;		// to avoid bots still mass opping from +take from not using cookies
+    chan->status |= (CHAN_FASTOP|CHAN_BITCH);		// to avoid bots still mass opping from +take from not using cookies
 
   if (!conf.bot->hub) {
     if ((old_status ^ chan->status) & (CHAN_INACTIVE | CHAN_BACKUP)) {