From a369f1276f7a3f9f10dc6878d883e4cdd14ee132 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Jul 2016 19:13:59 +0300 Subject: Remove hooking from function status_readdb_scconfig. Now it went to hercules. --- src/emap/status.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/emap/status.c') diff --git a/src/emap/status.c b/src/emap/status.c index f58cbea..f6f0a51 100644 --- a/src/emap/status.c +++ b/src/emap/status.c @@ -246,24 +246,3 @@ int estatus_change_end__post(int retVal, */ return retVal; } - -bool estatus_readdb_scconfig_post(bool retVal, - char* fields[], - int columns __attribute__ ((unused)), - int current __attribute__ ((unused))) -{ - if (retVal == true) - { - char *type = fields[0]; - int val = 0; - script->get_constant(type, &val); - // own field in sc_config.txt - if (status->dbs->sc_conf[val] & 0x100) - { - // allow show this sc always - status->dbs->DisplayType[val] = true; - } - } - - return retVal; -} -- cgit v1.2.3-70-g09d2