Browse Source

Hotfix

master
Emil 9 months ago
parent
commit
19b55a6873
No known key found for this signature in database GPG Key ID: 5432DB986FDBCF8A
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      src/api.c
  2. +1
    -1
      src/irc.c

+ 2
- 0
src/api.c View File

@@ -78,6 +78,7 @@ remind(char * who)
return r;
}

#if 0
DECL void
set_repo(char const * const who,
char const * const link)
@@ -87,6 +88,7 @@ set_repo(char const * const who,
DBERR(sqlite3_bind_text(set_repo_stmt, 2, who, -1, SQLITE_STATIC));
DBERR(sqlite3_step(set_repo_stmt));
}
#endif /* 0 */

#ifndef NO_VULN_COMMANDS



+ 1
- 1
src/irc.c View File

@@ -239,7 +239,7 @@ parse_command(char const * cmd)
ircmsg(creds.channel, "%s: %s", current_username, msgswp);
}
#endif /* 0 */
else if (strncmp(cmd, "magic", 5) == 0)
if (strncmp(cmd, "magic", 5) == 0)
{ ircmsg(creds.channel, "%s: " IRC_YELLOW "%d" IRC_STOP, current_username, (rand() % atoi(arg)) + 1); }
else if (strncmp(cmd, "poll", 4) == 0)
{