diff options
author | Adam <Adam@anope.org> | 2011-05-08 19:48:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:10:18 -0400 |
commit | 9962fae1a176d62813d8c83ca77104a2efc60e92 (patch) | |
tree | 6174b6e37e963a7d4fc479d51411b416aac8dc8d /src/chanserv.cpp | |
parent | 9fcbe293e2820a92921762d892767e2b1802c9c0 (diff) |
Calculate nc::channelcount at runtime
Diffstat (limited to 'src/chanserv.cpp')
-rw-r--r-- | src/chanserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chanserv.cpp b/src/chanserv.cpp index 393ad935d..42d637c38 100644 --- a/src/chanserv.cpp +++ b/src/chanserv.cpp @@ -282,7 +282,7 @@ bool IsFounder(User *user, ChannelInfo *ci) if (user->isSuperAdmin) return true; - if (user->Account() && user->Account() == ci->founder) + if (user->Account() && user->Account() == ci->GetFounder()) return true; return false; |