Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 17:09:17 +0900 (JST)
From:      Alexander Nedotsukov <bland@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        marcus@FreeBSD.org
Subject:   ports/55489: gaim/irc half/ op, voice user do not removed from chat list on leave
Message-ID:  <200308120809.h7C89HVE038234@bbnest.dyndns.org>
Resent-Message-ID: <200308120810.h7C8ACaa011887@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55489
>Category:       ports
>Synopsis:       gaim/irc half/ op, voice user do not removed from chat list on leave
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 12 01:10:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Nedotsukov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bbnest.dyndns.org 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Sat Aug 9 13:03:25 JST 2003 bland@bbnest.dyndns.org:/usr/obj/usr/src/sys/SU i386


	
>Description:
Gaim 0.66 has a bug wich prevents irc users with op, halfop, voice status be removed
from the channel when they leave.
	
>How-To-Repeat:
Join to irc channel. Ask some one with op mode leave the channel.
	
>Fix:
Add file attached to the port patch set.
	

--- patch-src::protocols::irc::irc.c begins here ---
--- src/protocols/irc/irc.c.orig	Thu Jul 17 22:55:23 2003
+++ src/protocols/irc/irc.c	Tue Aug 12 16:42:37 2003
@@ -1793,7 +1793,9 @@
 		if (*who == '+')
 			who++;
 		if (!gaim_utf8_strcasecmp(who, nick)) {
-			gaim_chat_remove_user(chat, who, reason);
+			char *tmp = g_strdup(r->data);
+			gaim_chat_remove_user(chat, tmp, reason);
+			g_free(tmp);
 			break;
 		}
 		r = r->next;
--- patch-src::protocols::irc::irc.c ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308120809.h7C89HVE038234>