- nicht unterstuetzte Channel-Modes entfernt.
authorAlexander Barton <alex@barton.de>
Sun, 2 Jun 2002 15:14:22 +0000 (15:14 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 2 Jun 2002 15:14:22 +0000 (15:14 +0000)
src/ngircd/defines.h
src/ngircd/irc-mode.c

index def9358d80586491f99417eaff22a32894e4d919..09495d171a5a3c389d1fd2be27c78c59b4383a09 100644 (file)
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: defines.h,v 1.26 2002/05/30 16:52:21 alex Exp $
+ * $Id: defines.h,v 1.27 2002/06/02 15:14:22 alex Exp $
  *
  * defines.h: (globale) Konstanten
  */
@@ -68,7 +68,7 @@
 #define RECONNECT_DELAY 3              /* Server-Links erst nach 3 Sekunden versuchen, wieder aufzubauen */
 
 #define USERMODES "aios"               /* unterstuetzte User-Modes */
-#define CHANMODES "aimnopPqstv"                /* unterstuetzte Channel-Modes */
+#define CHANMODES "imnoPtv"            /* unterstuetzte Channel-Modes */
 
 #define CONNECTED TRUE                 /* fuer die irc-xxx-Module */
 #define DISCONNECTED FALSE
index d817bf3c3957b6f6410afc412b08e24de8b6dbd9..c47345ae457e693b824b43131408c0036d63d7e9 100644 (file)
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: irc-mode.c,v 1.6 2002/05/27 13:09:27 alex Exp $
+ * $Id: irc-mode.c,v 1.7 2002/06/02 15:14:22 alex Exp $
  *
  * irc-mode.c: IRC-Befehle zur Mode-Aenderung (MODE, AWAY, ...)
  */
@@ -203,10 +203,6 @@ IRC_MODE( CLIENT *Client, REQUEST *Req )
                                        /* Channel-Modes */
                                        switch( *mode_ptr )
                                        {
-                                               case 'a':
-                                                       /* Anonymous */
-                                                       x[0] = 'a';
-                                                       break;
                                                case 'i':
                                                        /* Invite-Only */
                                                        x[0] = 'i';
@@ -219,18 +215,6 @@ IRC_MODE( CLIENT *Client, REQUEST *Req )
                                                        /* kein Schreiben in den Channel von aussen */
                                                        x[0] = 'n';
                                                        break;
-                                               case 'p':
-                                                       /* Private */
-                                                       x[0] = 'p';
-                                                       break;
-                                               case 'q':
-                                                       /* Quiet */
-                                                       x[0] = 'q';
-                                                       break;
-                                               case 's':
-                                                       /* Secret */
-                                                       x[0] = 's';
-                                                       break;
                                                case 't':
                                                        /* Topic Lock */
                                                        x[0] = 't';