summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 15:45:14 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 15:45:14 +0000
commitd0617b10606c94121b72bdcc3ef4db5980571f0e (patch)
treee3ce431c50d9a6a9e512246d1cd59edc5c1e7f98 /src
parent67349a9d627081bc0d3f2874aa383e8fa9c273e3 (diff)
Fix this (thx danieldg and owine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9322 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_rline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extra/m_rline.cpp b/src/modules/extra/m_rline.cpp
index 15bd60bc0..433c287c2 100644
--- a/src/modules/extra/m_rline.cpp
+++ b/src/modules/extra/m_rline.cpp
@@ -244,7 +244,7 @@ class ModuleRLine : public Module
MatchOnNickChange = Conf.ReadFlag("rline", "matchonnickchange", 1);
}
- virtual int OnUserPostNick(User *user, const std::string &oldnick)
+ virtual void OnUserPostNick(User *user, const std::string &oldnick)
{
if (!IS_LOCAL(user))
return 0;
@@ -252,12 +252,12 @@ class ModuleRLine : public Module
if (!MatchOnNickChange)
return 0;
- XLine *r = ServerInstance->XLines->MatchesLine("R", user);
+ XLine *rl = ServerInstance->XLines->MatchesLine("R", user);
- if (r)
+ if (rl)
{
// Bang! :D
- r->Apply(user);
+ rl->Apply(user);
}
}