about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-06-01 14:37:28 +0000
committerAlexander Barton <alex@barton.de>2002-06-01 14:37:28 +0000
commita2119a660a4fada1a9f4da9fe0cdba8ee58c3318 (patch)
tree1ec17759b99a95d0dc4e455ca0db3392014bb26c
parentdadebb2196737dd553ca46cd6e1f8c5e5e9b0722 (diff)
downloadngircd-a2119a660a4fada1a9f4da9fe0cdba8ee58c3318.tar.gz
ngircd-a2119a660a4fada1a9f4da9fe0cdba8ee58c3318.zip
- fehlerhaften Fehlercode in IRC_TOPIC() gefixed.
-rw-r--r--src/ngircd/irc-channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
index 8d6dce09..debd8ce2 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.6 2002/05/27 13:09:26 alex Exp $
+ * $Id: irc-channel.c,v 1.7 2002/06/01 14:37:28 alex Exp $
  *
  * irc-channel.c: IRC-Channel-Befehle
  */
@@ -224,7 +224,7 @@ IRC_TOPIC( CLIENT *Client, REQUEST *Req )
 
 	/* Welcher Channel? */
 	chan = Channel_Search( Req->argv[0] );
-	if( ! chan ) return IRC_WriteStrClient( from, ERR_NOTONCHANNEL_MSG, Client_ID( from ), Req->argv[0] );
+	if( ! chan ) return IRC_WriteStrClient( from, ERR_NOSUCHCHANNEL_MSG, Client_ID( from ), Req->argv[0] );
 
 	/* Ist der User Mitglied in dem Channel? */
 	if( ! Channel_IsMemberOf( chan, from )) return IRC_WriteStrClient( from, ERR_NOTONCHANNEL_MSG, Client_ID( from ), Req->argv[0] );