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_eline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/cmd_eline.cpp') diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp index bd9832c8a..2b1f8d803 100644 --- a/src/commands/cmd_eline.cpp +++ b/src/commands/cmd_eline.cpp @@ -37,7 +37,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user) } long duration = ServerInstance->Duration(parameters[1]); - if (ServerInstance->XLines->add_eline(duration,user->nick,parameters[2],parameters[0])) + if (ServerInstance->XLines->AddELine(duration,user->nick,parameters[2],parameters[0])) { FOREACH_MOD(I_OnAddELine,OnAddELine(duration, user, parameters[2], parameters[0])); @@ -59,7 +59,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user) } else { - if (ServerInstance->XLines->del_eline(parameters[0])) + if (ServerInstance->XLines->DelELine(parameters[0])) { FOREACH_MOD(I_OnDelELine,OnDelELine(user, parameters[0])); ServerInstance->SNO->WriteToSnoMask('x',"%s Removed E-line on %s.",user->nick,parameters[0]); -- cgit v1.2.3