From daa206e243ef797a7199b4ee9927342f6a79b90a Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 16 Dec 2006 02:23:00 +0000 Subject: 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 --- src/modules/m_alias.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/m_alias.cpp') 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; -- cgit v1.3.1-10-gc9f91