diff options
| author | 2009-10-21 23:45:44 +0000 | |
|---|---|---|
| committer | 2009-10-21 23:45:44 +0000 | |
| commit | a30abe26fc803900eaf5dc4c08a31aa1d3c9c89f (patch) | |
| tree | 7d59c15a9c23401b91e100ebb9e98df2c7179e53 /src/mode.cpp | |
| parent | Move all local-only fields to LocalUser (diff) | |
| download | inspircd++-a30abe26fc803900eaf5dc4c08a31aa1d3c9c89f.tar.gz inspircd++-a30abe26fc803900eaf5dc4c08a31aa1d3c9c89f.tar.bz2 inspircd++-a30abe26fc803900eaf5dc4c08a31aa1d3c9c89f.zip | |
Change User::oper to an OperInfo reference
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index c8ab6cc62..d19647cae 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -336,7 +336,7 @@ ModeAction ModeParser::TryMode(User* user, User* targetuser, Channel* chan, bool if (IS_OPER(user)) { user->WriteNumeric(ERR_NOPRIVILEGES, "%s :Permission Denied - Oper type %s does not have access to set %s mode %c", - user->nick.c_str(), irc::Spacify(user->oper.c_str()), type == MODETYPE_CHANNEL ? "channel" : "user", modechar); + user->nick.c_str(), user->oper->NameStr(), type == MODETYPE_CHANNEL ? "channel" : "user", modechar); } else { |
