Skip to content
Snippets Groups Projects
Commit 6b5a54d3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add description comment for find_login_id()

parent 569efded
No related branches found
No related tags found
No related merge requests found
Pipeline #7167 passed
...@@ -151,6 +151,9 @@ bool matchusername(scfg_t* cfg, const char* name, const char* comp) ...@@ -151,6 +151,9 @@ bool matchusername(scfg_t* cfg, const char* name, const char* comp)
return *np == '\0' && (*cp == '\0' || *cp == '@'); return *np == '\0' && (*cp == '\0' || *cp == '@');
} }
/****************************************************************************/
// Given a login-ID (user number, alias, or real name), return the user
// number or 0 on failure
/****************************************************************************/ /****************************************************************************/
uint find_login_id(scfg_t* cfg, const char* user_id) uint find_login_id(scfg_t* cfg, const char* user_id)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment