From: Alexander Barton Date: Mon, 10 Jun 2002 21:10:25 +0000 (+0000) Subject: - Code-Stelle in IRC_JOIN "klarer" gemacht :-) X-Git-Tag: rel-0-5-0-pre1~116 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git;a=commitdiff_plain;h=e876e210da36e07c6f81265844bea0727eb9184d - Code-Stelle in IRC_JOIN "klarer" gemacht :-) --- 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? */