This commit is contained in:
griever 2001-12-26 22:38:10 +00:00
parent 86206ed51c
commit 9c947f140e
2 changed files with 2 additions and 1 deletions
Changes
src/modules

View file

@ -1036,3 +1036,4 @@ seen. gmtime warning still there
coding)
- Fixed yet another Win32 editor bug affecting Windows 95/98/NT4,
found by HA|Raptor
- If host == null, don't set it (m_oper, was setting it to "eek.host.is.null.pointer")

View file

@ -357,7 +357,7 @@ DLLFUNC int m_oper(aClient *cptr, aClient *sptr, int parc, char *parv[]) {
sptr->user->oflag = aconf->oflags;
if ((aconf->oflags & OFLAG_HIDE) && iNAH) {
if ((aconf->oflags & OFLAG_HIDE) && iNAH && !BadPtr(host)) {
iNAH_host(sptr, (host != NULL) ? host : "eek.host.is.null.pointer");
}