diff --git a/Changes b/Changes index 8e4da3682..64582ea3c 100644 --- a/Changes +++ b/Changes @@ -2855,3 +2855,6 @@ seen. gmtime warning still there (hint hint.. ;) - Added missing lines to include/setup.h.in for snprintf, vsnprintf, strlcpy, strlcat, and strlncat. Should fix #0001510 (for real this time). +- Ouch!! Fixed a severe bug which caused opers not being recognized on remote + servers causing various problems... This was caused by a change 1-2 days ago. + Reported by Rocko (#0001537). diff --git a/src/umodes.c b/src/umodes.c index 93364041d..9411e25b0 100644 --- a/src/umodes.c +++ b/src/umodes.c @@ -387,7 +387,10 @@ int umode_allow_all(aClient *sptr, int what) int umode_allow_opers(aClient *sptr, int what) { - return IsAnOper(sptr) ? 1 : 0; + if (MyClient(sptr)) + return IsAnOper(sptr) ? 1 : 0; + else + return 1; } void unload_all_unused_umodes()