]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/parse.c
- PRIVMSG zeugt nun bei Texten an User an, wenn diese "away" sind.
[ngircd-alex.git] / src / ngircd / parse.c
index 89438bc18e65cbd7001c6937cb276c9d79817055..4f5eb66243474e722c7e558c8df436ce1f93d6c2 100644 (file)
@@ -9,11 +9,14 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: parse.c,v 1.25 2002/02/26 20:52:15 alex Exp $
+ * $Id: parse.c,v 1.26 2002/02/27 18:23:46 alex Exp $
  *
  * parse.c: Parsen der Client-Anfragen
  *
  * $Log: parse.c,v $
+ * Revision 1.26  2002/02/27 18:23:46  alex
+ * - IRC-Befehl "AWAY" implementert.
+ *
  * Revision 1.25  2002/02/26 20:52:15  alex
  * - Fehler bei Fehlermeldung wg. unbekanntem Prefix behoben.
  *
@@ -378,6 +381,7 @@ LOCAL BOOLEAN Handle_Request( CONN_ID Idx, REQUEST *Req )
        else if( strcasecmp( Req->command, "PART" ) == 0 ) return IRC_PART( client, Req );
        else if( strcasecmp( Req->command, "VERSION" ) == 0 ) return IRC_VERSION( client, Req );
        else if( strcasecmp( Req->command, "KILL" ) == 0 ) return IRC_KILL( client, Req );
+       else if( strcasecmp( Req->command, "AWAY" ) == 0 ) return IRC_AWAY( client, Req );
        
        /* Unbekannter Befehl */
        if( Client_Type( client ) != CLIENT_SERVER ) IRC_WriteStrClient( client, ERR_UNKNOWNCOMMAND_MSG, Client_ID( client ), Req->command );