Use prefix only when IRCv3 support is built

This commit is contained in:
Alex 2020-07-22 19:18:44 +02:00
parent 0cfdf390c4
commit 16002cb8f3
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,11 @@
int main(void)
{
char mesg[513] = "@+msgid=1s32;time;+reply;account=x :nick!user@host QUIT arg1 :Finished!";
char mesg[513] =
#ifdef UIRC_IRCV3
"@+msgid=1s32;time;+reply;account=x"
#endif
":nick!user@host QUIT arg1 :Finished!";
IRC_Message parseout;
int res = 0;
if ((res = Tok_mesg(mesg, &parseout)) <= 0) {