mirror of
https://github.com/anope/anope.git
synced 2026-06-26 01:06:39 +02:00
Return references instead of pointers from the config system.
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
}
|
||||
|
||||
void OnShutdown() override;
|
||||
void OnReload(Configuration::Conf *config) override;
|
||||
void OnReload(Configuration::Conf &config) override;
|
||||
void OnNewServer(Server *server) override;
|
||||
void OnServerQuit(Server *server) override;
|
||||
void OnUserConnect(User *u, bool &exempt) override;
|
||||
|
||||
Reference in New Issue
Block a user