summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2005-06-17 19:14:58 +0000
committerFlorian Westphal <fw@strlen.de>2005-06-17 19:14:58 +0000
commitb0699efdabd7bf80ddb49ccef624efe1249b84f3 (patch)
tree92d83380ff12d8badb5644745cf34e8230c76c4f /src
parent1ca8bb5255beae6d83284579bd3fac692fdd7687 (diff)
downloadngircd-b0699efdabd7bf80ddb49ccef624efe1249b84f3.tar.gz
ngircd-b0699efdabd7bf80ddb49ccef624efe1249b84f3.zip
remove unneeded strpy()
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-mode.c b/src/ngircd/irc-mode.c
index a3205b50..62f24883 100644
--- a/src/ngircd/irc-mode.c
+++ b/src/ngircd/irc-mode.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-mode.c,v 1.42 2005/05/14 20:29:34 alex Exp $";
+static char UNUSED id[] = "$Id: irc-mode.c,v 1.43 2005/06/17 19:14:58 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -257,7 +257,7 @@ Channel_Mode( CLIENT *Client, REQUEST *Req, CLIENT *Origin, CHANNEL *Channel )
 		/* The sender is a member: generate extended reply */
 		strlcpy( the_modes, Channel_Modes( Channel ), sizeof( the_modes ));
 		mode_ptr = the_modes;
-		strcpy( the_args, "" );
+		the_args[0] = '\0';
 		while( *mode_ptr )
 		{
 			switch( *mode_ptr )