summaryrefslogtreecommitdiff
path: root/src/modes/cmode_v.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 16:14:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 16:14:44 +0000
commitcfb2c2fff47d99f43434de7db339c2f2237c6bad (patch)
treebadd13cd7ee9a45dbbc683d64e44a01e0677ce58 /src/modes/cmode_v.cpp
parent7775a195d9c417e52eaaf912ec51d62bf0fd9a54 (diff)
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r--src/modes/cmode_v.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp
index 3f2910e1d..171e845fd 100644
--- a/src/modes/cmode_v.cpp
+++ b/src/modes/cmode_v.cpp
@@ -58,7 +58,7 @@ ModeAction ModeChannelVoice::OnModeChange(userrec* source, userrec* dest, chanre
std::string ModeChannelVoice::AddVoice(userrec *user,const char* dest,chanrec *chan,int status)
{
- userrec *d = ServerInstance->ModeGrok->SanityChecks(user,dest,chan,status);
+ userrec *d = ServerInstance->Modes->SanityChecks(user,dest,chan,status);
if (d)
{
@@ -71,7 +71,7 @@ std::string ModeChannelVoice::AddVoice(userrec *user,const char* dest,chanrec *c
return "";
if (MOD_RESULT == ACR_DEFAULT)
{
- if ((status < STATUS_HOP) && (!ServerInstance->is_uline(user->server)))
+ if ((status < STATUS_HOP) && (!ServerInstance->ULine(user->server)))
{
user->WriteServ("482 %s %s :You're not a channel (half)operator",user->nick, chan->name);
return "";
@@ -79,14 +79,14 @@ std::string ModeChannelVoice::AddVoice(userrec *user,const char* dest,chanrec *c
}
}
- return ServerInstance->ModeGrok->Grant(d,chan,UCMODE_VOICE);
+ return ServerInstance->Modes->Grant(d,chan,UCMODE_VOICE);
}
return "";
}
std::string ModeChannelVoice::DelVoice(userrec *user,const char *dest,chanrec *chan,int status)
{
- userrec *d = ServerInstance->ModeGrok->SanityChecks(user,dest,chan,status);
+ userrec *d = ServerInstance->Modes->SanityChecks(user,dest,chan,status);
if (d)
{
@@ -99,7 +99,7 @@ std::string ModeChannelVoice::DelVoice(userrec *user,const char *dest,chanrec *c
return "";
if (MOD_RESULT == ACR_DEFAULT)
{
- if ((status < STATUS_HOP) && (!ServerInstance->is_uline(user->server)))
+ if ((status < STATUS_HOP) && (!ServerInstance->ULine(user->server)))
{
user->WriteServ("482 %s %s :You are not a channel (half)operator",user->nick, chan->name);
return "";
@@ -107,7 +107,7 @@ std::string ModeChannelVoice::DelVoice(userrec *user,const char *dest,chanrec *c
}
}
- return ServerInstance->ModeGrok->Revoke(d,chan,UCMODE_VOICE);
+ return ServerInstance->Modes->Revoke(d,chan,UCMODE_VOICE);
}
return "";
}