Cleaned up the credentials handling, and made it ready for plugins.

This commit is contained in:
Jan Vidar Krey
2010-07-12 17:00:42 +02:00
parent e4977606a7
commit 56e5557146
16 changed files with 190 additions and 117 deletions

View File

@@ -22,7 +22,7 @@
struct hub_info* g_hub = 0;
#define CHECK_CHAT_ONLY \
if (hub->config->chat_only && u->credentials < cred_operator) \
if (hub->config->chat_only && u->credentials < auth_cred_operator) \
break
#define CHECK_FLOOD(TYPE, WARN) \