summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-12-27 13:35:19 +0000
committerAlexander Barton <alex@barton.de>2002-12-27 13:35:19 +0000
commit8340e4267ccd2e8d0014bab36d26a162ba2877ad (patch)
treef8248ccc24f08a03c5f3840d83ba30b393f4eb47 /src
parentc9ee3ae4f0c329a4550295b8bfddb812f84d5efb (diff)
downloadngircd-8340e4267ccd2e8d0014bab36d26a162ba2877ad.tar.gz
ngircd-8340e4267ccd2e8d0014bab36d26a162ba2877ad.zip
- Fixed prefix of error messages of KILL.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c
index 0f24ae6e..dcaf348d 100644
--- a/src/ngircd/irc.c
+++ b/src/ngircd/irc.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc.c,v 1.111 2002/12/27 13:17:04 alex Exp $";
+static char UNUSED id[] = "$Id: irc.c,v 1.112 2002/12/27 13:35:19 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -85,8 +85,8 @@ IRC_KILL( CLIENT *Client, REQUEST *Req )
 	if( c )
 	{
 		/* Yes, there is such a client -- but is it a valid user? */
-		if( Client_Type( c ) == CLIENT_SERVER ) IRC_WriteStrClient( prefix, ERR_CANTKILLSERVER_MSG, Client_ID( prefix ));
-		else if( Client_Type( c ) != CLIENT_USER  )IRC_WriteStrClient( prefix, ERR_NOPRIVILEGES_MSG, Client_ID( prefix ));
+		if( Client_Type( c ) == CLIENT_SERVER ) IRC_WriteStrClient( Client, ERR_CANTKILLSERVER_MSG, Client_ID( Client ));
+		else if( Client_Type( c ) != CLIENT_USER  )IRC_WriteStrClient( Client, ERR_NOPRIVILEGES_MSG, Client_ID( Client ));
 		else
 		{
 			/* Kill user NOW! */