From 11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 5 Jan 2014 15:04:01 +0100 Subject: Introduce Server class - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() --- src/commands/cmd_kick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_kick.cpp') diff --git a/src/commands/cmd_kick.cpp b/src/commands/cmd_kick.cpp index 10022d105..033a00c41 100644 --- a/src/commands/cmd_kick.cpp +++ b/src/commands/cmd_kick.cpp @@ -76,7 +76,7 @@ CmdResult CommandKick::Handle (const std::vector& parameters, User return CMD_FAILURE; } - if (ServerInstance->ULine(u->server)) + if (u->server->IsULine()) { user->WriteNumeric(ERR_CHANOPRIVSNEEDED, "%s :You may not kick a u-lined client", c->name.c_str()); return CMD_FAILURE; -- cgit v1.3.1-10-gc9f91