소스 검색

* Attempt to fix #92

svn: 2126
Bryan Drewery 21 년 전
부모
커밋
8024e185c2
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/mod/share.mod/share.c

+ 3 - 0
src/mod/share.mod/share.c

@@ -1295,6 +1295,9 @@ finish_share(int idx)
    */
   clear_userlist(ou);
 
+  if (!conf.bot->u)
+    conf.bot->u = get_user_by_handle(userlist, conf.bot->nick);
+
   /* Our hostmask may have been updated on connect, but the new userfile may not have it. */
   check_hostmask();