repo: ngircd action: commit revision: path_from: revision_from: e876e210da36e07c6f81265844bea0727eb9184d: path_to: revision_to:
commit e876e210da36e07c6f81265844bea0727eb9184d Author: Alexander BartonDate: Mon Jun 10 21:10:25 2002 +0000 - Code-Stelle in IRC_JOIN "klarer" gemacht :-) diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
--- 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? */
-----END OF PAGE-----