diff options
-rw-r--r-- | src/inspircd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ca334c016..24addeda1 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -5591,10 +5591,9 @@ void handle_N(char token,char* params,serverrec* source,serverrec* reply, char* clientlist[nick]->idle_lastmsg = time(NULL); // this is unrealiable and wont actually be used locally for (int i = 0; i < MAXCHANS; i++) { - clientlist[tempnick]->chans[i].channel = NULL; - clientlist[tempnick]->chans[i].uc_modes = 0; + clientlist[nick]->chans[i].channel = NULL; + clientlist[nick]->chans[i].uc_modes = 0; } - } void handle_F(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port) |