/chghost bug fix

This commit is contained in:
codemastr 2000-08-02 18:52:10 +00:00
parent b7ee74ec97
commit 33c6e5c93b
3 changed files with 8 additions and 4 deletions

View file

@ -507,3 +507,5 @@
- Fixed a /mode (umode) typo where it said no such channel rather than no such nick,
reported by llthangel
- Disabled anything with time in /list options temporary, causes bugs
- Fixed a little /chghost bug

5
TODO
View file

@ -49,5 +49,8 @@ Assigned to DrBin:
* Port to BeOS
* +N (no nickname changes chmode)
* Chmodes in /list possbility
* Make chached MOTDs more memory friendly (dynamic allocation)
* Make cached MOTDs more memory friendly (dynamic allocation)
* Fix up the flag and proto system
* Make a is_chan_op, is_chanprot, is_chanowner all-in-one function
* Split up Link (SLink)
* Add Dlink (DSLink)

View file

@ -278,8 +278,7 @@ int m_chghost(cptr, sptr, parc, parv)
sendto_umode(UMODE_EYES,
"%s changed the virtual hostname of %s (%s@%s) to be %s",
sptr->name, acptr->name, acptr->user->username,
(acptr->umodes & UMODE_HIDE ? acptr->
user->virthost : acptr->user->realhost), parv[2]);
acptr->user->realhost, parv[2]);
}
acptr->umodes |= UMODE_HIDE;
acptr->umodes |= UMODE_SETHOST;
@ -1605,4 +1604,4 @@ int m_crypto(cptr, sptr, parc, parv)
}
sendto_one(sptr, "CRYPTO ERROR :No such method/command %s", parv[1]);
}
#endif
#endif