From f4a5bae0c010e3c20d6420c9de2bb74182b26b6e Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 17 Mar 2011 23:58:19 +0200 Subject: events are working ) --- core/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/services.cpp') diff --git a/core/services.cpp b/core/services.cpp index 3344ca4..903ee1a 100644 --- a/core/services.cpp +++ b/core/services.cpp @@ -20,7 +20,7 @@ extern std::list services; extern boost::mutex service_list_mutex; -bool ServiceExists(const char *name); +int ServiceExists(const char *name); void CreateServiceFunction(const char* name, SERVICE svc) { if(!ServiceExists(name)) @@ -45,7 +45,7 @@ void* CallService(const char *name,void* data) } return 0; } -bool ServiceExists(const char *name) +int ServiceExists(const char *name) { service_list_mutex.lock(); if(!services.empty()) -- cgit v1.2.3