(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them

- Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
This commit is contained in:
Darkvater
2005-05-17 16:07:48 +00:00
parent 143dd26ef5
commit 166c1badc9
3 changed files with 90 additions and 89 deletions

View File

@@ -1115,7 +1115,7 @@ DEF_CONSOLE_HOOK(ConHookServerName)
DEF_CONSOLE_HOOK(ConHookServerAdvertise)
{
if (!_network_advertise)
if (!_network_advertise) // remove us from advertising
NetworkUDPRemoveAdvertise();
return true;