diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-02 22:58:56 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-02 22:58:56 +0000 |
commit | 27fbecdaa75d262e92703a578c508c0aeccd06a4 (patch) | |
tree | 634090f5c153528389fbfebc8a8afbeba62cf7f6 /src/modes/cmode_v.cpp | |
parent | 8509727e16f1d9ce6c9719c8d62c7715d3699858 (diff) |
Back out the AllowDevoiceSelf stuff, it wasn't going to work anyway. Accidental commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8796 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r-- | src/modes/cmode_v.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp index 8b94caf08..66e58a479 100644 --- a/src/modes/cmode_v.cpp +++ b/src/modes/cmode_v.cpp @@ -136,9 +136,7 @@ std::string ModeChannelVoice::DelVoice(User *user,const char *dest,Channel *chan return ""; if (MOD_RESULT == ACR_DEFAULT) { - if ((status < STATUS_HOP) && (!ServerInstance->ULine(user->server)) || - user == d && ServerInstance->Config->AllowDevoiceSelf - ) + 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 ""; |