소스 검색

Hotfix

master
Emil 9 달 전
부모
커밋
19b55a6873
No known key found for this signature in database GPG 키 ID: 5432DB986FDBCF8A
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -0
      src/api.c
  2. +1
    -1
      src/irc.c

+ 2
- 0
src/api.c 파일 보기

@@ -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 파일 보기

@@ -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)
{