]> arthur.barton.de Git - ngircd.git/commitdiff
- Code-Stelle in IRC_JOIN "klarer" gemacht :-)
authorAlexander Barton <alex@barton.de>
Mon, 10 Jun 2002 21:10:25 +0000 (21:10 +0000)
committerAlexander Barton <alex@barton.de>
Mon, 10 Jun 2002 21:10:25 +0000 (21:10 +0000)
src/ngircd/irc-channel.c

index 67e72bfb9ef5a12cb1b37a1d1864751607e6f49b..e5d2788587009633b329198276c288090fd6ff75 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-channel.c,v 1.8 2002/06/02 14:51:14 alex Exp $
+ * $Id: irc-channel.c,v 1.9 2002/06/10 21:10:25 alex Exp $
  *
  * irc-channel.c: IRC-Channel-Befehle
  */
@@ -73,7 +73,11 @@ IRC_JOIN( CLIENT *Client, REQUEST *Req )
                {
                        /* Channel-Flags extrahieren */
                        flags = strchr( channame, 0x7 );
-                       if( flags ) *flags++ = '\0';
+                       if( flags )
+                       {
+                               *flags = '\0';
+                               flags++;
+                       }
                }
 
                /* Lokaler Client? */