summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-16 02:23:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-16 02:23:00 +0000
commitdaa206e243ef797a7199b4ee9927342f6a79b90a (patch)
treec406f4fbc6c89e845bac862670191cce58d034f9 /src/modules
parent6a6a9699ba0c286bb2ee92f1a187cebe86e6870c (diff)
Linefeeds in quotes, just for w00t.
WARNING: THIS NEEDS SOME EXTRA STUFF TOMORROW: Someone remind me to add a 'no linefeeds' bool flag to ConfigReader::ReadValue, because a lot of values should NOT have linefeeds in! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6004 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_alias.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index c2b26db52..804e9c5b5 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -169,15 +169,18 @@ class ModuleAlias : public Module
if (crlf == std::string::npos)
{
+ ServerInstance->Log(DEBUG,"Single line alias: '%s'", Aliases[i].replace_with.c_str());
DoCommand(Aliases[i].replace_with, user, original_line);
return 1;
}
else
{
+ ServerInstance->Log(DEBUG,"Multi line alias: '%s'", Aliases[i].replace_with.c_str());
irc::sepstream commands(Aliases[i].replace_with, '\n');
std::string command = "*";
while ((command = commands.GetToken()) != "")
{
+ ServerInstance->Log(DEBUG,"Execute: '%s'", command.c_str());
DoCommand(command, user, original_line);
}
return 1;