Procházet zdrojové kódy

* Removed '+/-manop' from 'chanset' var and added to ignore list for chanset.

svn: 2232
Bryan Drewery před 21 roky
rodič
revize
8fe04cf728
3 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 1 0
      doc/UPDATES
  2. 2 0
      src/mod/channels.mod/tclchan.c
  3. 1 1
      src/set.c

+ 1 - 0
doc/UPDATES

@@ -26,6 +26,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed binary config stating there was no change with -C under certain conditions.
 * Fixed binary config stating there was no change with -C under certain conditions.
 * Default binary name is now what you name it, or "wraith" if left in "wraith.OS-ver" format.
 * Default binary name is now what you name it, or "wraith" if left in "wraith.OS-ver" format.
 * Increased buffer size in binary config for binname/binpath/homedir
 * Increased buffer size in binary config for binname/binpath/homedir
+* Removed '+/-manop' from 'chanset' var and added to ignore list for chanset.
 
 
 1.2.3
 1.2.3
 
 

+ 2 - 0
src/mod/channels.mod/tclchan.c

@@ -576,6 +576,8 @@ int channel_modify(char *result, struct chanset_t *chan, int items, char **item)
 
 
     /* ignore wasoptest, stopnethack and clearbans in chanfile, remove
     /* ignore wasoptest, stopnethack and clearbans in chanfile, remove
        this later */
        this later */
+    else if (!strcmp(item[i], "+manop")) ;
+    else if (!strcmp(item[i], "-manop")) ;
     else if (!strcmp(item[i], "+dontkickops")) ;
     else if (!strcmp(item[i], "+dontkickops")) ;
     else if (!strcmp(item[i], "-dontkickops")) ;
     else if (!strcmp(item[i], "-dontkickops")) ;
     else if (!strcmp(item[i], "+nomdop"))  ;
     else if (!strcmp(item[i], "+nomdop"))  ;

+ 1 - 1
src/set.c

@@ -26,7 +26,7 @@ char auth_key[51] = "";
 char auth_prefix[2] = "";
 char auth_prefix[2] = "";
 int badprocess = DET_IGNORE;
 int badprocess = DET_IGNORE;
 bool dccauth = 0;
 bool dccauth = 0;
-char *def_chanset = "+enforcebans +dynamicbans +userbans -bitch -protectops -revenge +cycle -inactive +userexempts -dynamicexempts +userinvites -dynamicinvites -revengebot -nodesynch -closed -take +manop -voice -private -fastop";
+char *def_chanset = "+enforcebans +dynamicbans +userbans -bitch -protectops -revenge +cycle -inactive +userexempts -dynamicexempts +userinvites -dynamicinvites -revengebot -nodesynch -closed -take -voice -private -fastop";
 int cloak_script = 0;
 int cloak_script = 0;
 rate_t close_threshold = { 0, 0 };
 rate_t close_threshold = { 0, 0 };
 int fight_threshold;
 int fight_threshold;