m_version: display charybdis version in /version
Otherwise it just crashes when /version is used. Closes: #60
This commit is contained in:
parent
bf77c3a1ef
commit
0f4ed4058d
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ m_version(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
|
||||
sendto_one_numeric(source_p, RPL_VERSION, form_str(RPL_VERSION),
|
||||
ircd_version, serno,
|
||||
#ifdef CUSTOM_BRANDING
|
||||
PACKAGE_NAME " " PACKAGE_VERSION,
|
||||
#endif
|
||||
me.name, confopts(source_p), TS_CURRENT,
|
||||
ServerInfo.sid);
|
||||
|
||||
|
|
Loading…
Reference in a new issue