From cfb2c2fff47d99f43434de7db339c2f2237c6bad Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 16:14:44 +0000 Subject: CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat. NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index 8011a1ff4..fff276970 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -558,14 +558,14 @@ long chanrec::KickUser(userrec *src, userrec *user, const char* reason) src->WriteServ("441 %s %s %s :They are not on that channel",src->nick, user->nick, this->name); return this->GetUserCounter(); } - if ((ServerInstance->is_uline(user->server)) && (!ServerInstance->is_uline(src->server))) + if ((ServerInstance->ULine(user->server)) && (!ServerInstance->ULine(src->server))) { src->WriteServ("482 %s %s :Only a u-line may kick a u-line from a channel.",src->nick, this->name); return this->GetUserCounter(); } int MOD_RESULT = 0; - if (!ServerInstance->is_uline(src->server)) + if (!ServerInstance->ULine(src->server)) { MOD_RESULT = 0; FOREACH_RESULT(I_OnUserPreKick,OnUserPreKick(src,user,this,reason)); @@ -576,10 +576,10 @@ long chanrec::KickUser(userrec *src, userrec *user, const char* reason) if (MOD_RESULT != -1) { FOREACH_RESULT(I_OnAccessCheck,OnAccessCheck(src,user,this,AC_KICK)); - if ((MOD_RESULT == ACR_DENY) && (!ServerInstance->is_uline(src->server))) + if ((MOD_RESULT == ACR_DENY) && (!ServerInstance->ULine(src->server))) return this->GetUserCounter(); - if ((MOD_RESULT == ACR_DEFAULT) || (!ServerInstance->is_uline(src->server))) + if ((MOD_RESULT == ACR_DEFAULT) || (!ServerInstance->ULine(src->server))) { int them = this->GetStatus(src); int us = this->GetStatus(user); @@ -919,7 +919,7 @@ int chanrec::GetStatusFlags(userrec *user) int chanrec::GetStatus(userrec *user) { - if (ServerInstance->is_uline(user->server)) + if (ServerInstance->ULine(user->server)) return STATUS_OP; for (std::vector::const_iterator i = user->chans.begin(); i != user->chans.end(); i++) -- cgit v1.3.1-10-gc9f91