1
0
Эх сурвалжийг харах

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

svn: 2232
Bryan Drewery 21 жил өмнө
parent
commit
8fe04cf728

+ 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.
 * 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
+* Removed '+/-manop' from 'chanset' var and added to ignore list for chanset.
 
 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
        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], "+nomdop"))  ;

+ 1 - 1
src/set.c

@@ -26,7 +26,7 @@ char auth_key[51] = "";
 char auth_prefix[2] = "";
 int badprocess = DET_IGNORE;
 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;
 rate_t close_threshold = { 0, 0 };
 int fight_threshold;