about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-01-24 14:19:04 +0000
committerAlexander Barton <alex@barton.de>2005-01-24 14:19:04 +0000
commit34e912d9f2b84621b45a64698caafc220d58302f (patch)
tree78d48e2b05cc3e859bf605d4ad44b7926453697f /src
parent44172a8c7f78f06e9c065724970506e05fbed412 (diff)
downloadngircd-34e912d9f2b84621b45a64698caafc220d58302f.tar.gz
ngircd-34e912d9f2b84621b45a64698caafc220d58302f.zip
Fixed a typo in variable name ...
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c
index f95d5c5d..b0aec128 100644
--- a/src/ngircd/irc-info.c
+++ b/src/ngircd/irc-info.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-info.c,v 1.23 2005/01/24 14:17:21 alex Exp $";
+static char UNUSED id[] = "$Id: irc-info.c,v 1.24 2005/01/24 14:19:04 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -794,7 +794,7 @@ IRC_Show_MOTD( CLIENT *Client )
 		if( ! fgets( line, sizeof( line ), fd )) break;
 
 		line_len = strlen( line );
-		if( line_len > 0 ) pos--;
+		if( line_len > 0 ) line_len--;
 		if( line[line_len] == '\n' ) line[line_len] = '\0';
 
 		if( ! IRC_WriteStrClient( Client, RPL_MOTD_MSG, Client_ID( Client ), line ))