summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 15:06:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 15:06:42 +0000
commit8ceeb5320df402bcd1801088d88fa428919d4d18 (patch)
tree78e3b1bb97095ff9f2c4f1a13092ad65aef38cb5 /src
parent9cb96d8822ed050a3c17f9a3a9b32007bd1c9660 (diff)
More channel join check fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@498 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp5
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)