Kaynağa Gözat

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


svn: 2998

Bryan Drewery 20 yıl önce
ebeveyn
işleme
c7322013f6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;