aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-07-30 14:34:11 -0400
committerGravatar Daniel De Graaf2010-07-30 14:34:11 -0400
commit170ab71ba1cf8c6dd9bc09bc26ad454f1385999e (patch)
tree8d4a19a4d638d1e3632146051d84c96d0ebc7b15 /src/modules/m_alias.cpp
parentInclude location of duplicated oper blocks (diff)
downloadinspircd++-170ab71ba1cf8c6dd9bc09bc26ad454f1385999e.tar.gz
inspircd++-170ab71ba1cf8c6dd9bc09bc26ad454f1385999e.tar.bz2
inspircd++-170ab71ba1cf8c6dd9bc09bc26ad454f1385999e.zip
Fix incorrect default on <alias:channelcommand>
Diffstat (limited to 'src/modules/m_alias.cpp')
-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 c7f0da690..33f877a57 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -82,8 +82,8 @@ class ModuleAlias : public Module
tag->readString("replace", a.ReplaceFormat, true);
a.RequiredNick = tag->getString("requires");
a.ULineOnly = tag->getBool("uline");
- a.ChannelCommand = tag->getBool("channelcommand", "no");
- a.UserCommand = tag->getBool("usercommand", "yes");
+ a.ChannelCommand = tag->getBool("channelcommand", false);
+ a.UserCommand = tag->getBool("usercommand", true);
a.OperOnly = tag->getBool("operonly");
a.format = tag->getString("format");
a.CaseSensitive = tag->getBool("matchcase");