diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-26 23:32:03 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-26 23:32:03 -0400 |
commit | 57bb7593059242652c57aae4391b45416dc7fa70 (patch) | |
tree | 80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /src/modules.cpp | |
parent | 6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (diff) |
Trying to make things a little more const-safe, a work in progress but this is a bit better.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index b6115137d..7f7af6150 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -254,7 +254,7 @@ bool moduleMinVersion(int major, int minor, int patch, int build) return ret; } -void Module::NoticeLang(const Anope::string &source, User *u, int number, ...) +void Module::NoticeLang(const Anope::string &source, const User *u, int number, ...) const { va_list va; char buffer[4096], outbuf[4096]; @@ -396,7 +396,7 @@ void ModuleRunTimeDirCleanUp() Alog(LOG_DEBUG) << "Module run time directory has been cleaned out"; } -Version Module::GetVersion() +Version Module::GetVersion() const { return Version(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD); } |