From f154803a51ee8cc11b1bd02cd7ea3f8b354da789 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 18 May 2008 18:55:40 +0000 Subject: 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 --- src/modules/m_spanningtree/override_motd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/override_motd.cpp') 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& 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 */ -- cgit v1.2.3