summaryrefslogtreecommitdiff
path: root/core/services.cpp
diff options
context:
space:
mode:
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())