소스 검색

* Port [2997] to 1.2.11
* Fix small bug introduced in [2857]


svn: 2998

Bryan Drewery 20 년 전
부모
커밋
c7322013f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/chanprog.c

+ 1 - 1
src/chanprog.c

@@ -525,7 +525,7 @@ void add_myself_to_userlist() {
     bi = (struct bot_addr *) get_user(&USERENTRY_BOTADDR, conf.bot->u);
   }
 
-  if (!bi) {
+  if (bi) {
     if (conf.bot->net.ip)
       bi->address = strdup(conf.bot->net.ip);
     bi->telnet_port = bi->relay_port = 3333;