commit dd9b4bc956aa01c9d7c33b7e60b653c88ccaf707 from: Alexander Barton date: Sat May 14 20:29:34 2005 UTC Away status texts set due to "a"-Modes received from other servers have been fixed: the status text of the server has been set instead of the away status text of the client (most probably introduced by patch 1.36). commit - 6f97dd4938e35ce01786ca3826db416f44ec7156 commit + dd9b4bc956aa01c9d7c33b7e60b653c88ccaf707 blob - b1a91dbc25811725abb482899c91e6ba020a0ea7 blob + a3205b50f346f610bfca6917f19fd59aff32383f --- src/ngircd/irc-mode.c +++ src/ngircd/irc-mode.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-mode.c,v 1.41 2005/04/27 07:38:00 alex Exp $"; +static char UNUSED id[] = "$Id: irc-mode.c,v 1.42 2005/05/14 20:29:34 alex Exp $"; #include "imp.h" #include @@ -166,7 +166,7 @@ Client_Mode( CLIENT *Client, REQUEST *Req, CLIENT *Ori if( Client_Type( Client ) == CLIENT_SERVER ) { x[0] = 'a'; - Client_SetAway( Client, DEFAULT_AWAY_MSG ); + Client_SetAway( Origin, DEFAULT_AWAY_MSG ); } else ok = IRC_WriteStrClient( Origin, ERR_NOPRIVILEGES_MSG, Client_ID( Origin )); break;