summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_override.cpp2
-rw-r--r--src/modules/m_park.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 055890988..02763faf7 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -57,7 +57,7 @@ class ModuleOverride : public Module
void Implements(char* List)
{
- List[I_OnRehash] = List[I_OnAccesscheck] = List[I_On005Numeric] = List[I_OnUserPreJoin] = 1;
+ List[I_OnRehash] = List[I_OnAccessCheck] = List[I_On005Numeric] = List[I_OnUserPreJoin] = 1;
}
virtual void On005Numeric(std::string &output)
diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp
index 1b9d4248c..6be28d950 100644
--- a/src/modules/m_park.cpp
+++ b/src/modules/m_park.cpp
@@ -152,7 +152,7 @@ class cmd_unpark : public command_t
if (key == atoi(parameters[1]))
{
// first part the user from all chans theyre on, so things dont get messy
- for (int i = 0; i < user->chans.size(); i++)
+ for (unsigned int i = 0; i < user->chans.size(); i++)
{
if (user->chans[i].channel != NULL)
{