diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-02 14:42:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-02 14:42:45 +0000 |
commit | 139cfdf630b6257529a3f4bad40463e73fc38d7d (patch) | |
tree | fd6b02c9212083cd67e317f60fb962c45502369f /src/modules/chat/clist.cpp | |
parent | 072a18963fcb2dd827533a1cc625390375856f0a (diff) |
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/clist.cpp')
-rw-r--r-- | src/modules/chat/clist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/clist.cpp b/src/modules/chat/clist.cpp index 3709b94610..a9e55d5fa6 100644 --- a/src/modules/chat/clist.cpp +++ b/src/modules/chat/clist.cpp @@ -60,7 +60,7 @@ MCONTACT AddRoom(const char *pszModule, const TCHAR *pszRoom, const TCHAR *pszDi return NULL;
CallService(MS_PROTO_ADDTOCONTACT, hContact, (LPARAM)pszModule);
- if (pszGroup && lstrlen(pszGroup) > 0)
+ if (pszGroup[0])
db_set_ts(hContact, "CList", "Group", pszGroup);
else
db_unset(hContact, "CList", "Group");
|