summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_alias.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 14339030f..ad5f84034 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -305,7 +305,7 @@ class ModuleAlias : public Module
if (crlf == std::string::npos)
{
DoCommand(a->ReplaceFormat, user, c, safe);
- return 0;
+ return 1;
}
else
{
@@ -315,7 +315,7 @@ class ModuleAlias : public Module
{
DoCommand(scommand, user, c, safe);
}
- return 0;
+ return 1;
}
}