From ce9b1289c672d3d6b9cadec865754710bc1b80f7 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 28 Oct 2007 18:44:49 +0000 Subject: PERL PIE FOR ALL: Rename a fuckload of XLineManager's methods git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_qline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commands/cmd_qline.cpp') diff --git a/src/commands/cmd_qline.cpp b/src/commands/cmd_qline.cpp index 01f99546b..e32641e82 100644 --- a/src/commands/cmd_qline.cpp +++ b/src/commands/cmd_qline.cpp @@ -36,7 +36,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user) } long duration = ServerInstance->Duration(parameters[1]); - if (ServerInstance->XLines->add_qline(duration,user->nick,parameters[2],parameters[0])) + if (ServerInstance->XLines->AddQLine(duration,user->nick,parameters[2],parameters[0])) { FOREACH_MOD(I_OnAddQLine,OnAddQLine(duration, user, parameters[2], parameters[0])); if (!duration) @@ -49,7 +49,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user) ServerInstance->SNO->WriteToSnoMask('x',"%s added timed Q-line for %s, expires on %s",user->nick,parameters[0], ServerInstance->TimeString(c_requires_crap).c_str()); } - ServerInstance->XLines->apply_lines(); + ServerInstance->XLines->ApplyLines(); } else { @@ -58,7 +58,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user) } else { - if (ServerInstance->XLines->del_qline(parameters[0])) + if (ServerInstance->XLines->DelQLine(parameters[0])) { FOREACH_MOD(I_OnDelQLine,OnDelQLine(user, parameters[0])); ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Q-line on %s.",user->nick,parameters[0]); -- cgit v1.2.3