summaryrefslogtreecommitdiff
path: root/src/common/plugins.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 10:57:31 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 10:57:31 +0000
commit23867efcc4336f811cf6c424a62110d514ee8293 (patch)
tree4673f54ec683ac6772ec3d3534d29d088ea916cf /src/common/plugins.c
parent49b620d06a9b5c835e97aa238b42d5d56743e6fb (diff)
downloadhercules-23867efcc4336f811cf6c424a62110d514ee8293.tar.gz
hercules-23867efcc4336f811cf6c424a62110d514ee8293.tar.bz2
hercules-23867efcc4336f811cf6c424a62110d514ee8293.tar.xz
hercules-23867efcc4336f811cf6c424a62110d514ee8293.zip
- Messages with server_tick field are sent as soon as possible now.
This might fix client synchronization issues. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9415 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/plugins.c')
-rw-r--r--src/common/plugins.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/common/plugins.c b/src/common/plugins.c
index 5951885a1..9da12c35f 100644
--- a/src/common/plugins.c
+++ b/src/common/plugins.c
@@ -291,6 +291,12 @@ int plugins_config_read(const char *cfgName)
return 0;
}
+/// backward compatibillity function
+int plugin_WFIFOSET(int fd,int len)
+{
+ return _WFIFOSET(fd,len,0);
+}
+
void plugins_init (void)
{
char *PLUGIN_CONF_FILENAME = "conf/plugin_athena.conf";
@@ -302,7 +308,7 @@ void plugins_init (void)
// networking
export_symbol (func_parse_table, 18);
export_symbol (RFIFOSKIP, 17);
- export_symbol (WFIFOSET, 16);
+ export_symbol (plugin_WFIFOSET, 16);
export_symbol (delete_session, 15);
export_symbol (session, 14);
export_symbol (&fd_max, 13);