summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index 07ad36ddb..ee10654b8 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -183,7 +183,7 @@ class ModuleShun : public Module
virtual void OnUserConnect(User* user)
{
if (!IS_LOCAL(user))
- return 0;
+ return;
// Apply lines on user connect
XLine *rl = ServerInstance->XLines->MatchesLine("SHUN", user);