diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 | ||||
-rw-r--r-- | src/modules.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7ccbef91d..8f5c997ed 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -289,7 +289,7 @@ void InspIRCd::MoveTo(std::string modulename,int slot) break; } } - if (v2 == slot) + if (v2 == (unsigned int)slot) { log(DEBUG,"Item %s already in slot %d!",modulename.c_str(),slot); } diff --git a/src/modules.cpp b/src/modules.cpp index b8b17aa93..ebb8e3550 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -298,7 +298,7 @@ void Module::OnDelQLine(userrec* source, std::string nickmask) { }; void Module::OnDelELine(userrec* source, std::string hostmask) { }; void Module::OnCleanup(int target_type, void* item) { }; void Module::Implements(char* Implements) { for (int j = 0; j < 255; j++) Implements[j] = 0; }; -Priority Prioritize() { return PRIORITY_DONTCARE; } +Priority Modules::Prioritize() { return PRIORITY_DONTCARE; } /* server is a wrapper class that provides methods to all of the C-style * exports in the core |