From: Alexander Barton Date: Wed, 9 Oct 2002 13:33:19 +0000 (+0000) Subject: - NOTICE liefert nun nie(!) einen Fehler, auch nicht, wenn Client noch nicht registriert. X-Git-Tag: rel-0-6-0-pre1~180 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=39d7b014cfc775690d386334cbab9387e68ea25c - NOTICE liefert nun nie(!) einen Fehler, auch nicht, wenn Client noch nicht registriert. --- diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index ac0315a9..3c878148 100644 --- a/src/ngircd/irc.c +++ b/src/ngircd/irc.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.c,v 1.96 2002/10/04 11:21:46 alex Exp $ + * $Id: irc.c,v 1.97 2002/10/09 13:33:19 alex Exp $ * * irc.c: IRC-Befehle */ @@ -109,7 +109,7 @@ IRC_NOTICE( CLIENT *Client, REQUEST *Req ) assert( Client != NULL ); assert( Req != NULL ); - if(( Client_Type( Client ) != CLIENT_USER ) && ( Client_Type( Client ) != CLIENT_SERVER )) return IRC_WriteStrClient( Client, ERR_NOTREGISTERED_MSG, Client_ID( Client )); + if(( Client_Type( Client ) != CLIENT_USER ) && ( Client_Type( Client ) != CLIENT_SERVER )) return; /* Falsche Anzahl Parameter? */ if( Req->argc != 2 ) return CONNECTED;