diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-10 15:05:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-10 15:05:18 +0000 |
commit | 9cb96d8822ed050a3c17f9a3a9b32007bd1c9660 (patch) | |
tree | 630db2d1e9c05cd491916c5bc2275409fc4797d1 /src/users.cpp | |
parent | b53dc2ea9ae2d961c38715b26ae96a750c3944a4 (diff) |
Fixes to channel join checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@497 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index eb4954897..48295eddd 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -28,7 +28,8 @@ userrec::userrec() strcpy(result,""); for (int i = 0; i < MAXCHANS; i++) { - chans[i].channel = NULL; + this->chans[i].channel = NULL; + this->chans[i].uc_modes = 0; } invites.clear(); } |