From 5ecd5447d0f52592b121778f251965179597466d Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Nov 2007 13:45:02 +0000 Subject: Tidy up, and make the identifer for a line type be std::string not char git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_nick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_nick.cpp') diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp index aaa6698ac..06fc5dcc3 100644 --- a/src/commands/cmd_nick.cpp +++ b/src/commands/cmd_nick.cpp @@ -60,7 +60,7 @@ CmdResult CommandNick::Handle (const char** parameters, int, User *user) } else { - XLine* mq = ServerInstance->XLines->MatchesLine('Q',parameters[0]); + XLine* mq = ServerInstance->XLines->MatchesLine("Q",parameters[0]); if (mq) { ServerInstance->SNO->WriteToSnoMask('x', "Q-Lined nickname %s from %s!%s@%s: %s", parameters[0], user->nick, user->ident, user->host, mq->reason); -- cgit v1.2.3