mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Normalize methods with 'UserName' to 'Username'
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ class CModTcl : public CModule {
|
||||
|
||||
static int tcl_GetUsername STDVAR {
|
||||
CModTcl* mod = static_cast<CModTcl*>(cd);
|
||||
Tcl_SetResult(irp, (char*)mod->GetUser()->GetUserName().c_str(),
|
||||
Tcl_SetResult(irp, (char*)mod->GetUser()->GetUsername().c_str(),
|
||||
TCL_VOLATILE);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user