summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 16:04:38 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 16:04:38 +0000
commitb1aa96263438274f2a9a1ba65fa71da63d2f4569 (patch)
treeceede0acdc37a0899aebddb2d233f2009583ae3d /src
parentcf2a8bd3858b054acf8e4dfef28c6be637f43f89 (diff)
fix warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9324 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_rline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_rline.cpp b/src/modules/extra/m_rline.cpp
index 433c287c2..146087ec0 100644
--- a/src/modules/extra/m_rline.cpp
+++ b/src/modules/extra/m_rline.cpp
@@ -247,10 +247,10 @@ class ModuleRLine : public Module
virtual void OnUserPostNick(User *user, const std::string &oldnick)
{
if (!IS_LOCAL(user))
- return 0;
+ return;
if (!MatchOnNickChange)
- return 0;
+ return;
XLine *rl = ServerInstance->XLines->MatchesLine("R", user);