-- ChangeLog --
ngIRCd 0.11.1
+ - Fix sending of JOINs between servers when remote server appended mode
+ flags. (Rolf Eike Beer) [from HEAD]
- send "G" instead of "H" flag in WHO replies (reported by Dana Dahlstrom).
- Under some circumstances ngIRCd issued
channel MODE message with a trailing space. (Dana Dahlstrom) [from HEAD]
--
-$Id: ChangeLog,v 1.332.2.8 2008/02/26 12:06:57 fw Exp $
+$Id: ChangeLog,v 1.332.2.9 2008/02/26 12:07:41 fw Exp $
#include "portab.h"
-static char UNUSED id[] = "$Id: irc-channel.c,v 1.40.2.1 2008/01/07 11:42:14 fw Exp $";
+static char UNUSED id[] = "$Id: irc-channel.c,v 1.40.2.2 2008/02/26 12:07:41 fw Exp $";
#include "imp.h"
#include <assert.h>
{
chan = NULL; flags = NULL;
+ if (Client_Type(Client) == CLIENT_SERVER) {
+ flags = strchr( channame, 0x7 );
+ if( flags ) {
+ *flags = '\0';
+ flags++;
+ }
+ }
+
/* wird der Channel neu angelegt? */
if( Channel_Search( channame )) {
is_new_chan = false;
is_new_chan = true;
}
- /* Hat ein Server Channel-User-Modes uebergeben? */
- if( Client_Type( Client ) == CLIENT_SERVER )
- {
- /* Channel-Flags extrahieren */
- flags = strchr( channame, 0x7 );
- if( flags )
- {
- *flags = '\0';
- flags++;
- }
- }
-
/* Local client? */
if( Client_Type( Client ) == CLIENT_USER )
{