Hotfix
This commit is contained in:
parent
9dc569a55c
commit
19b55a6873
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user