Last few tweaks

This commit is contained in:
Alex 2020-07-05 12:48:24 +02:00
parent 6bf297339a
commit ce93209ab5
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#include <stdio.h>
#include <string.h>
static IRC_Message imassm_mesg;
const char* RESERVED = "*";
const char* const RESERVED = "*";
void clear_assm(void)
{
memset((void*)&imassm_mesg, '\0', sizeof(IRC_Message));
@ -50,7 +50,7 @@ IRC_Message* Assemble_OPER(char* name, char* password)
imassm_mesg.cmd = OPER;
return &imassm_mesg;
}
IRC_Message* Assemble_MODE(char* nick, char* modes, char* modeparams) /* TODO: Write a mode string creator */
IRC_Message* Assemble_MODE(char* nick, char* modes, char* modeparams)
{
if (nick == NULL)
return NULL;