1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 12:03:14 +02:00

Take a constant pointer in GetModule.

This commit is contained in:
Sadie Powell
2024-11-24 22:36:53 +00:00
parent 6178ea644a
commit 70227dc882
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ namespace Configuration
void LoadConf(File &file);
void Post(Conf *old);
Block *GetModule(Module *);
Block *GetModule(const Module *);
Block *GetModule(const Anope::string &name);
BotInfo *GetClient(const Anope::string &name);
+1 -1
View File
@@ -620,7 +620,7 @@ void Conf::Post(Conf *old)
}
}
Block *Conf::GetModule(Module *m)
Block *Conf::GetModule(const Module *m)
{
if (!m)
return NULL;