diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index ae18959d7..b3886eefe 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -306,7 +306,7 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool ServerInstance->Log(DEBUG,"The user is not a halfop or above, checking other reasons for being able to set the modes"); /* Are we a uline or is it a servermode? */ - if ((!ServerInstance->is_uline(user->server)) && (!servermode)) + if ((!ServerInstance->ULine(user->server)) && (!servermode)) { /* Not enough permission: * NOT a uline and NOT a servermode, @@ -489,7 +489,7 @@ void cmd_mode::Handle (const char** parameters, int pcnt, userrec *user) if (!user) return; - ServerInstance->ModeGrok->Process(parameters, pcnt, user, false); + ServerInstance->Modes->Process(parameters, pcnt, user, false); return; } |