diff options
| author | Alexander Barton <alex@barton.de> | 2004-02-29 16:28:44 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2004-02-29 16:28:44 +0000 |
| commit | 56227abc5e09e274877fda7ad5986be6a9853c10 (patch) | |
| tree | 5c28aa9f2601f05e3806016777a0528354cf3bb0 /src | |
| parent | f9e651b333005581247e32e047ffea772ba27814 (diff) | |
| download | ngircd-56227abc5e09e274877fda7ad5986be6a9853c10.tar.gz ngircd-56227abc5e09e274877fda7ad5986be6a9853c10.zip | |
Changed the reply of the MODE command to match the syntax of the original
ircd exactly: the unnecessary but missing ":" before the last parameter has been added.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/irc-mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-mode.c b/src/ngircd/irc-mode.c index 5586989c..28e5327e 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.32 2003/11/05 23:24:48 alex Exp $"; +static char UNUSED id[] = "$Id: irc-mode.c,v 1.33 2004/02/29 16:28:44 alex Exp $"; #include "imp.h" #include <assert.h> @@ -225,7 +225,7 @@ client_exit: else { /* Send reply to client and inform other servers */ - ok = IRC_WriteStrClientPrefix( Client, Origin, "MODE %s %s", Client_ID( Target ), the_modes ); + ok = IRC_WriteStrClientPrefix( Client, Origin, "MODE %s :%s", Client_ID( Target ), the_modes ); IRC_WriteStrServersPrefix( Client, Origin, "MODE %s :%s", Client_ID( Target ), the_modes ); } Log( LOG_DEBUG, "User \"%s\": Mode change, now \"%s\".", Client_Mask( Target ), Client_Modes( Target )); |