summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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);