- 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 ().
This commit is contained in:
Bram Matthys 2004-02-13 20:49:43 +00:00
parent b8c0185563
commit cc91e5fde3
2 changed files with 7 additions and 1 deletions

View file

@ -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).

View file

@ -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()