shuusei21188:チャンネルモードの設定コマンドのオプションの略の追加(source by Heracules)

+|-P = +|-PRIVATE
+|-M = +|-MODERATED
+|-T = +|-TOPIC
+|-R = +|-REGISTERED
diff --dos -urN 21187/handler.pas 21188/handler.pas
--- 21187/handler.pas	Fri Jan 17 21:34:18 2003
+++ 21188/handler.pas	Fri Jan 17 21:55:30 2003
@@ -7927,14 +7927,14 @@
  begin
    str:=lowercase(hlist.Strings[0]);
    hlist.Delete(0);
-   if str='+private' then st:=st+[chPrivate]
-   else if str='-private' then st:=st-[chPrivate]
-   else if str='+moderated' then st:=st+[chModerated]
-   else if str='-moderated' then st:=st-[chModerated]
-   else if str='+topic' then st:=st+[chTopic]
-   else if str='-topic' then st:=st-[chTopic]
-   else if str='+registered' then st:=st+[chRegistered]
-   else if str='-registered' then st:=st-[chRegistered]
+   if (str='+private') or (str='+p') then st:=st+[chPrivate]
+   else if (str='-private') or (str='-p') then st:=st-[chPrivate]
+   else if (str='+moderated') or (str='+m') then st:=st+[chModerated]
+   else if (str='-moderated') or (str='-m') then st:=st-[chModerated]
+   else if (str='+topic') or (str='+t') then st:=st+[chTopic]
+   else if (str='-topic') or (str='-t') then st:=st-[chTopic]
+   else if (str='+registered') or (str='+r') then st:=st+[chRegistered]
+   else if (str='-registered') or (str='-r') then st:=st-[chRegistered]
    else Error(GetLangT(LNG_UNKNOWNCHMODE,str));
  end;
  tmp_pos:=883;