diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 17:52:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 17:52:10 +0000 |
commit | 2591562ada4cb1f866e5d1c98340fb19332b3844 (patch) | |
tree | 1cf18676c1851c39322d20fa208c0221e23ba6ac /src/channels.cpp | |
parent | 1cbf29e3cd070c12437a657b47fc433008b2c74d (diff) |
Move tons more stuff into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index bf2596bb1..b9e88a5bd 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -325,7 +325,7 @@ chanrec* chanrec::JoinUser(userrec *user, const char* cn, bool override, const c FOREACH_RESULT(I_OnCheckLimit,OnCheckLimit(user, Ptr)); if (!MOD_RESULT) { - if (usercount(Ptr) >= Ptr->limit) + if (Ptr->GetUserCounter() >= Ptr->limit) { user->WriteServ("471 %s %s :Cannot join channel (Channel is full)",user->nick, Ptr->name); return NULL; |