summaryrefslogtreecommitdiff
path: root/core/services.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2011-03-17 23:58:19 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2011-03-17 23:58:19 +0200
commitf4a5bae0c010e3c20d6420c9de2bb74182b26b6e (patch)
treeac120eaa84821ac21fd51235829c1db82570d230 /core/services.cpp
parentb170dc2b10df0e66acc5bc0bb89ba2c68a755f12 (diff)
events are working )
Diffstat (limited to 'core/services.cpp')
-rw-r--r--core/services.cpp4
1 files changed, 2 insertions, 2 deletions
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<service*> 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())