about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-06-10 21:10:25 +0000
committerAlexander Barton <alex@barton.de>2002-06-10 21:10:25 +0000
commite876e210da36e07c6f81265844bea0727eb9184d (patch)
tree4d96b9bb0ce07296a8d24f646a06743624c65073 /src
parente6d1bcdf82875c5ad1780d7b5903eb6daa43f32a (diff)
downloadngircd-e876e210da36e07c6f81265844bea0727eb9184d.tar.gz
ngircd-e876e210da36e07c6f81265844bea0727eb9184d.zip
- Code-Stelle in IRC_JOIN "klarer" gemacht :-)
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-channel.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
index 67e72bfb..e5d27885 100644
--- a/src/ngircd/irc-channel.c
+++ b/src/ngircd/irc-channel.c
@@ -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? */