summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-07 17:10:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-07 17:10:52 +0000
commit86b8e74c3a96de4cd61574bb55ca691ca92ffd0d (patch)
treeef1235e612d74b032193b821deb962ffeb45d273
parentbe812e3a415655f8c60bd084d132173bfd07d7c6 (diff)
Don't execute multiple aliases after executing one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
-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;
}
}