Explorar el Código

* Fixed cmd_conf not working on hubs

svn: 2168
Bryan Drewery hace 21 años
padre
commit
41d7f808fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/cmds.c

+ 1 - 1
src/cmds.c

@@ -1553,7 +1553,7 @@ static void cmd_sha1(int idx, char *par)
 
 static void cmd_conf(int idx, char *par)
 {
-  if (!conf.bot->localhub) {
+  if (!conf.bot->localhub || !conf.bot->hub) {
     dprintf(idx, "Please use '%s%s%s' for this login/shell.\n", RED(idx), conf.localhub, COLOR_END(idx));
     return;
   }