diff options
author | Adam <Adam@anope.org> | 2011-08-18 00:47:34 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-18 00:47:34 -0400 |
commit | ff7479f437c45a44d9c81f5e1102fa5a1ffe96a6 (patch) | |
tree | 77cbe42fa07a622de90ce46795e742ed9c9f1ee9 /modules/database/db_mysql.cpp | |
parent | 487d828fa0f69d1b425f17499c6f0991b5691c08 (diff) |
Fixed attaching to events in db_mysql & possibly having ChannelInfo::WhoSends return NULL if there really are *no* bots
Diffstat (limited to 'modules/database/db_mysql.cpp')
-rw-r--r-- | modules/database/db_mysql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_mysql.cpp b/modules/database/db_mysql.cpp index 479a8c522..e0cfbd00a 100644 --- a/modules/database/db_mysql.cpp +++ b/modules/database/db_mysql.cpp @@ -166,7 +166,7 @@ class DBMySQL : public Module /* HostServ */ I_OnSetVhost, I_OnDeleteVhost }; - ModuleManager::Attach(i, this, 40); + ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); } EventReturn OnLoadDatabase() |