ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/user.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/s_user.c (file contents):
Revision 3156 by michael, Fri Mar 14 19:57:38 2014 UTC vs.
Revision 3157 by michael, Fri Mar 14 20:19:36 2014 UTC

# Line 804 | Line 804 | set_user_mode(struct Client *source_p, c
804          case 'o':
805            if (what == MODE_ADD)
806            {
807 <            if (IsServer(source_p->from) && !HasUMode(source_p, UMODE_OPER))
807 >            if (!MyConnect(source_p) && !HasUMode(source_p, UMODE_OPER))
808              {
809                ++Count.oper;
810                SetOper(source_p);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines