summaryrefslogtreecommitdiff
path: root/src/char/loginif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-11 01:47:15 +0200
committerHaru <haru@dotalux.com>2015-08-15 00:51:44 +0200
commit22bd368e5d4d8d61a7189d03f52c3afd90c0729e (patch)
treeb8617bdfe901c41ff006d160b5bbceadb52f7bfb /src/char/loginif.c
parentbbf42063d78e393c2fc7a74b105aca6fb6357414 (diff)
downloadhercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.tar.gz
hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.tar.bz2
hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.tar.xz
hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.zip
Added core HPM interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/loginif.c')
-rw-r--r--src/char/loginif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/loginif.c b/src/char/loginif.c
index d55701aaa..422c7c589 100644
--- a/src/char/loginif.c
+++ b/src/char/loginif.c
@@ -39,9 +39,9 @@ void loginif_reset(void)
/// If all the conditions are met, it stops the core loop.
void loginif_check_shutdown(void)
{
- if( runflag != CHARSERVER_ST_SHUTDOWN )
+ if( core->runflag != CHARSERVER_ST_SHUTDOWN )
return;
- runflag = CORE_ST_STOP;
+ core->runflag = CORE_ST_STOP;
}