[ekg2-commit] ekg2: sessions.c (HEAD) [darkjames]

CVS commit cvs w toxygen.net
Śro, 2 Maj 2007, 20:34:13 CEST


Module name:	ekg2
Changes by:	darkjames	2007-05-02 20:34:10

Modified files:
	sessions.c

Log message:
revert 1.121
if w->session is set, than it _MUST_ be proper session.

Index: sessions.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/sessions.c,v
diff -d -u -r1.123 -r1.124
--- sessions.c	2 May 2007 14:23:54 -0000	1.123
+++ sessions.c	2 May 2007 18:34:10 -0000	1.124
@@ -224,7 +224,7 @@
  * 	with w->target: "Aga". it's not uid. it's nickname.. so we must search for it in userlist.
  *	it's better idea than what was.. however it's slow and I still want to do it other way.
  */
-		if ((!w->session || !get_uid(w->session, w->target)) && !w->floating && get_uid(s, w->target)) {
+		if (!w->session && !w->floating && get_uid(s, w->target)) {
 			w->session = s;
 			/* XXX, notify ui-plugin */
 		}


Więcej informacji o liście dyskusyjnej ekg2-commit