reorganizing

This commit is contained in:
joonicks
2018-04-04 06:04:58 +02:00
parent a5187a7a8f
commit c5b03f35e1
66 changed files with 1670 additions and 2742 deletions

View File

@@ -98,7 +98,7 @@ char *recover_client(char *env)
{
for(user=current->userlist;user;user=user->next)
{
if (!Strcasecmp(user->name,handle))
if (!stringcasecmp(user->name,handle))
goto found_user;
}
break;
@@ -133,7 +133,7 @@ found_user:
if (user->x.x.access == OWNERLEVEL)
{
CurrentDCC = client;
Strcpy(client->sockdata,"status");
stringcpy(client->sockdata,"status");
do_spy(user->name,current->wantnick,client->sockdata,0);
*client->sockdata = 0;
CurrentDCC = NULL;
@@ -371,7 +371,7 @@ void do_reset(COMMAND_ARGS)
#endif /* NOTIFY */
*env = 0;
p = Strcat(env,STR_MECHRESET);
p = stringcat(env,STR_MECHRESET);
n = 0;
#ifdef DEBUG
/*