summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 20:49:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 20:49:55 +0000
commita50ff6a758eb180c810d2eb2725425ed7d8e5b0b (patch)
tree9698e0d21599be280cf3c6fed46efb7bd9a3b514
parentfa8d93e73fac42c2952e78b0e91bfe9a096ab63d (diff)
Corrections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2664 e03df62e-2008-0410-955e-edbf42e46eb7
-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)
{