diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 16:14:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 16:14:44 +0000 |
commit | cfb2c2fff47d99f43434de7db339c2f2237c6bad (patch) | |
tree | badd13cd7ee9a45dbbc683d64e44a01e0677ce58 /src/cmd_qline.cpp | |
parent | 7775a195d9c417e52eaaf912ec51d62bf0fd9a54 (diff) |
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_qline.cpp')
-rw-r--r-- | src/cmd_qline.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd_qline.cpp b/src/cmd_qline.cpp index 1e2b7cbd0..5be818ff4 100644 --- a/src/cmd_qline.cpp +++ b/src/cmd_qline.cpp @@ -27,17 +27,17 @@ void cmd_qline::Handle (const char** parameters, int pcnt, userrec *user) { if (pcnt >= 3) { - if (ServerInstance->nick_matches_everyone(parameters[0],user)) + if (ServerInstance->NickMatchesEveryone(parameters[0],user)) return; - ServerInstance->XLines->add_qline(ServerInstance->duration(parameters[1]),user->nick,parameters[2],parameters[0]); - FOREACH_MOD(I_OnAddQLine,OnAddQLine(ServerInstance->duration(parameters[1]), user, parameters[2], parameters[0])); - if (!ServerInstance->duration(parameters[1])) + ServerInstance->XLines->add_qline(ServerInstance->Duration(parameters[1]),user->nick,parameters[2],parameters[0]); + FOREACH_MOD(I_OnAddQLine,OnAddQLine(ServerInstance->Duration(parameters[1]), user, parameters[2], parameters[0])); + if (!ServerInstance->Duration(parameters[1])) { ServerInstance->WriteOpers("*** %s added permanent Q-line for %s.",user->nick,parameters[0]); } else { - ServerInstance->WriteOpers("*** %s added timed Q-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->duration(parameters[1])); + ServerInstance->WriteOpers("*** %s added timed Q-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->Duration(parameters[1])); } ServerInstance->XLines->apply_lines(APPLY_QLINES); } |