This commit is contained in:
Emil 2023-08-17 06:01:20 -06:00
parent 9dc569a55c
commit 19b55a6873
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A
2 changed files with 3 additions and 1 deletions

View File

@ -78,6 +78,7 @@ remind(char * who)
return r; return r;
} }
#if 0
DECL void DECL void
set_repo(char const * const who, set_repo(char const * const who,
char const * const link) 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_bind_text(set_repo_stmt, 2, who, -1, SQLITE_STATIC));
DBERR(sqlite3_step(set_repo_stmt)); DBERR(sqlite3_step(set_repo_stmt));
} }
#endif /* 0 */
#ifndef NO_VULN_COMMANDS #ifndef NO_VULN_COMMANDS

View File

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