-544 {
-545 if (type == MT_SERVER)
-546 {
-547 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
-548 return false;
-549 }
-550 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-551 {
-552 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
-553 return false;
-554 }
-555 if ((params_when_on>1) || (params_when_off>1))
-556 {
-557 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
-558 return false;
-559 }
-560 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-561 }
+546 {
+547 if (type == MT_SERVER)
+548 {
+549 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
+550 return false;
+551 }
+552 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+553 {
+554 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
+555 return false;
+556 }
+557 if ((params_when_on>1) || (params_when_off>1))
+558 {
+559 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
+560 return false;
+561 }
+562 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+563 }