Skip to content
Browse files

Fixed [GetClientCount].

  • Loading branch information...
1 parent 4786b74 commit 1da11b0b2b002c8ef3428761f90bbb8a9853a093 @blackwind blackwind committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/modtcl.cpp
View
2 modules/modtcl.cpp
@@ -397,7 +397,7 @@ class CModTcl : public CModule {
static int tcl_GetClientCount STDVAR {
CModTcl *mod = static_cast<CModTcl *>(cd);
- Tcl_SetResult(irp, (char *)CString(mod->m_pUser->GetClients().size()).c_str(), TCL_VOLATILE);
+ Tcl_SetResult(irp, (char *)CString(mod->m_pNetwork->GetClients().size()).c_str(), TCL_VOLATILE);
return TCL_OK;
}

0 comments on commit 1da11b0

Please sign in to comment.
Something went wrong with that request. Please try again.