summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-07 16:19:28 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-07 16:19:28 +0000
commit4185ba9bb149daf991bfb9f4e3b5a5d75362d94a (patch)
tree4f8842a8dd247edb167759722c24c59c22c73894
parent3de8d7eee411e1164faa2a95015746304715bb18 (diff)
Set default values for <alias:usercommand> and <alias:channelcommand>, Ankit, please provide feedback.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 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 2479658e6..f605cc5f4 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -71,8 +71,8 @@ class ModuleAlias : public Module
a.ReplaceFormat = MyConf.ReadValue("alias", "replace", i, true);
a.RequiredNick = MyConf.ReadValue("alias", "requires", i);
a.ULineOnly = MyConf.ReadFlag("alias", "uline", i);
- a.ChannelCommand = MyConf.ReadFlag("alias", "channelcommand", i);
- a.UserCommand = MyConf.ReadFlag("alias", "usercommand", i);
+ a.ChannelCommand = MyConf.ReadFlag("alias", "channelcommand", false, i);
+ a.UserCommand = MyConf.ReadFlag("alias", "usercommand", true, i);
a.OperOnly = MyConf.ReadFlag("alias", "operonly", i);
a.format = MyConf.ReadValue("alias", "format", i);
a.CaseSensitive = MyConf.ReadFlag("alias", "matchcase", i);