summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/userutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/userutils.cpp')
-rw-r--r--protocols/Gadu-Gadu/userutils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/userutils.cpp b/protocols/Gadu-Gadu/userutils.cpp
index 5982d93aa7..583994f9fa 100644
--- a/protocols/Gadu-Gadu/userutils.cpp
+++ b/protocols/Gadu-Gadu/userutils.cpp
@@ -289,9 +289,7 @@ HANDLE GGPROTO::hookProtoEvent(const char* szEvent, GGEventFunc handler)
void GGPROTO::createProtoService(const char* szService, GGServiceFunc serviceProc)
{
- char str[MAXMODULELABELLENGTH];
- mir_snprintf(str, sizeof(str), "%s%s", m_szModuleName, szService);
- CreateServiceFunctionObj(str, (MIRANDASERVICEOBJ)*( void** )&serviceProc, this);
+ CreateServiceFunctionObj(szService, (MIRANDASERVICEOBJ)*( void** )&serviceProc, this);
}
//////////////////////////////////////////////////////////