summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/override_motd.cpp
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 18:55:40 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-18 18:55:40 +0000
commitf154803a51ee8cc11b1bd02cd7ea3f8b354da789 (patch)
tree59cee7bb6395aa999a19e7cd0a5de0ecf486f344 /src/modules/m_spanningtree/override_motd.cpp
parent9010a8832098780ebf40c716f5b4689e66482846 (diff)
Fix some unneeded .c_str() usage in m_spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9743 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/override_motd.cpp')
-rw-r--r--src/modules/m_spanningtree/override_motd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/override_motd.cpp b/src/modules/m_spanningtree/override_motd.cpp
index a87042794..1090b2adb 100644
--- a/src/modules/m_spanningtree/override_motd.cpp
+++ b/src/modules/m_spanningtree/override_motd.cpp
@@ -37,7 +37,7 @@ int ModuleSpanningTree::HandleMotd(const std::vector<std::string>& parameters, U
{
if (parameters.size() > 0)
{
- if (match(ServerInstance->Config->ServerName, parameters[0].c_str()))
+ if (match(ServerInstance->Config->ServerName, parameters[0]))
return 0;
/* Remote MOTD, the server is within the 1st parameter */