Explorar o código

Removed redundant session check

Follow up to 323bd72
Thanks to @lighta
Lemongrass3110 %!s(int64=9) %!d(string=hai) anos
pai
achega
39f06ba71d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/channel.c

+ 1 - 1
src/map/channel.c

@@ -212,7 +212,7 @@ int channel_gjoin(struct map_session_data *sd, int flag){
 	struct Channel *channel;
 	struct guild *g;
 
-	if(!sd || (sd && sd->state.autotrade)) return -1;
+	if(!sd || sd->state.autotrade) return -1;
 	g = sd->guild;
 	if(!g) return -2;