From 4b7c157f63daae9c59170c8947c1caea48384cf3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Dec 2005 17:16:22 +0000 Subject: Added notice-to-servermask Added ability to output 'is an oper but i dont know what type' in WHOIS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2152 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 115264e84..d3f1c8229 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1266,7 +1266,7 @@ bool DoOneToAllButSenderRaw(std::string data,std::string omit,std::string prefix TreeServer* omitroute = BestRouteTo(omit); if ((command == "NOTICE") || (command == "PRIVMSG")) { - if (params.size() >= 2) + if ((params.size() >= 2) && (*(params[0].c_str()) != '$')) { if (*(params[0].c_str()) != '#') { -- cgit v1.2.3