mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 17:43:13 +02:00
server:motd -> server:addmotd, server:omotd -> server:addomotd. hmmmm.. I guess.
This commit is contained in:
@@ -86,7 +86,7 @@ DLLFUNC CMD_FUNC(m_addmotd)
|
||||
if (!MyConnect(sptr))
|
||||
return 0;
|
||||
|
||||
if (!OperClass_evaluateACLPath("server:motd",sptr,NULL,NULL,NULL))
|
||||
if (!OperClass_evaluateACLPath("server:addmotd",sptr,NULL,NULL,NULL))
|
||||
{
|
||||
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
|
||||
return 0;
|
||||
|
||||
@@ -86,7 +86,7 @@ DLLFUNC CMD_FUNC(m_addomotd)
|
||||
if (!MyConnect(sptr))
|
||||
return 0;
|
||||
|
||||
if (!OperClass_evaluateACLPath("server:omotd",sptr,NULL,NULL,NULL))
|
||||
if (!OperClass_evaluateACLPath("server:addomotd",sptr,NULL,NULL,NULL))
|
||||
{
|
||||
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
|
||||
return 0;
|
||||
@@ -94,7 +94,7 @@ DLLFUNC CMD_FUNC(m_addomotd)
|
||||
if (parc < 2)
|
||||
{
|
||||
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS),
|
||||
me.name, parv[0], "ADDMOTD");
|
||||
me.name, parv[0], "ADDOMOTD");
|
||||
return 0;
|
||||
}
|
||||
conf = fopen(conf_files->opermotd_file, "a");
|
||||
|
||||
Reference in New Issue
Block a user