mirror of
https://github.com/anope/anope.git
synced 2026-06-29 04:06:38 +02:00
Fixed attaching to events in db_mysql & possibly having ChannelInfo::WhoSends return NULL if there really are *no* bots
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user