diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2011-03-17 23:58:19 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2011-03-17 23:58:19 +0200 |
commit | f4a5bae0c010e3c20d6420c9de2bb74182b26b6e (patch) | |
tree | ac120eaa84821ac21fd51235829c1db82570d230 /core/services.cpp | |
parent | b170dc2b10df0e66acc5bc0bb89ba2c68a755f12 (diff) |
events are working )
Diffstat (limited to 'core/services.cpp')
-rw-r--r-- | core/services.cpp | 4 |
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()) |