Skip to content

Commit

Permalink
Fixed [GetClientCount].
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwind committed Apr 18, 2012
1 parent 4786b74 commit 1da11b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/modtcl.cpp
Expand Up @@ -397,7 +397,7 @@ class CModTcl : public CModule {


static int tcl_GetClientCount STDVAR { static int tcl_GetClientCount STDVAR {
CModTcl *mod = static_cast<CModTcl *>(cd); 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; return TCL_OK;
} }


Expand Down

0 comments on commit 1da11b0

Please sign in to comment.