don't set thr REQUESTED_CHANINFO flag on cmd_move (there are more information to...
authorpk910 <philipp@zoelle1.de>
Sun, 23 Oct 2011 19:38:09 +0000 (21:38 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 23 Oct 2011 19:38:09 +0000 (21:38 +0200)
src/cmd_neonserv_move.c

index c837d797a7d14d3c956002bb41ddd50127397164..28afb59dcc73a1a6888b3acfa34b70243f146c0f 100644 (file)
@@ -86,11 +86,6 @@ CMD_BIND(neonserv_cmd_move) {
         channode->flags &= ~CHANFLAG_CHAN_REGISTERED;
         channode->channel_id = 0;
     }
-    channode = getChanByName(new_channel);
-    if(channode && channode->flags & CHANFLAG_REQUESTED_CHANINFO) {
-        channode->flags |= CHANFLAG_CHAN_REGISTERED;
-        channode->channel_id = atoi(row[1]);
-    }
     reply(getTextBot(), user, "NS_MOVE_DONE", channel, new_channel);
     logEvent(event);
 }