diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-17 23:48:18 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 21:03:43 -0400 |
| commit | cab6fcc82d2d184339bfe5ed0eba22482a404ad8 (patch) | |
| tree | 29df26a375cbaa29d0c6023ad3478b28a826c307 /src/core/cs_akick.c | |
| parent | 17ab4104005cc5098d9152e6c90d54977222dd06 (diff) | |
Added a founder access level used to determin who is a channel founder. This is completely independant of the owner levels
Diffstat (limited to 'src/core/cs_akick.c')
| -rw-r--r-- | src/core/cs_akick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_akick.c b/src/core/cs_akick.c index 42b79c362..3d56e4846 100644 --- a/src/core/cs_akick.c +++ b/src/core/cs_akick.c @@ -224,7 +224,7 @@ class CommandCSAKick : public Command { User *u2 = it->second; - if (IsFounder(u2, ci) || (get_access(u2, ci) >= get_access(u, ci))) + if (check_access(u2, ci, CA_FOUNDER) || (get_access(u2, ci) >= get_access(u, ci))) { if (match_usermask(mask.c_str(), u2)) { |
