diff options
| author | Alexander Barton <alex@barton.de> | 2007-11-18 15:05:35 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2007-11-18 15:05:35 +0000 |
| commit | 06bfb3adfb7ed6aef01c2fa892ea396405ee040a (patch) | |
| tree | a4d06606524cef35c2c51cc37845771ce51d309f /src/ngircd/irc-server.c | |
| parent | 2f305331a17b6b967e46f0ec13ea4f6aeda83b89 (diff) | |
| download | ngircd-06bfb3adfb7ed6aef01c2fa892ea396405ee040a.tar.gz ngircd-06bfb3adfb7ed6aef01c2fa892ea396405ee040a.zip | |
Fix code to compile using K&R C compiler and ansi2kr again.
Diffstat (limited to 'src/ngircd/irc-server.c')
| -rw-r--r-- | src/ngircd/irc-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-server.c b/src/ngircd/irc-server.c index da9ba978..41e89085 100644 --- a/src/ngircd/irc-server.c +++ b/src/ngircd/irc-server.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-server.c,v 1.43 2006/12/07 17:57:20 fw Exp $"; +static char UNUSED id[] = "$Id: irc-server.c,v 1.44 2007/11/18 15:05:35 alex Exp $"; #include "imp.h" #include <assert.h> @@ -261,7 +261,7 @@ IRC_SERVER( CLIENT *Client, REQUEST *Req ) if( ! IRC_WriteStrClient( Client, "CHANINFO %s +%s %s %lu :%s", Channel_Name( chan ), modes, strchr( Channel_Modes( chan ), 'k' ) ? Channel_Key( chan ) : "*", - strchr( Channel_Modes( chan ), 'l' ) ? Channel_MaxUsers( chan ) : 0UL, topic )) + strchr( Channel_Modes( chan ), 'l' ) ? Channel_MaxUsers( chan ) : 0, topic )) { return DISCONNECTED; } |