- scan.c:scan_manual(): fixes to previous commit
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 13 Jan 2015 19:07:11 +0000 (19:07 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 13 Jan 2015 19:07:11 +0000 (19:07 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5377 82007160-df01-0410-b94d-b575c5fd34c7

src/scan.c

index acbe99cd5ee7cb17cdc6bf5f80b9bd1690aad505..bb1f82f7d38bcf356d9b7f32204cb4f083ec0d19 100644 (file)
@@ -900,7 +900,8 @@ scan_manual(char *param, const struct ChannelConf *target)
   /* IP = the resolved IP now (it was the ip OR hostname before) */
   if ((ip = inet_ntop(AF_INET, addr, buf, sizeof(buf))) == NULL)
   {
-    irc_send("PRIVMSG %s :CHECK -> invalid address: %s", strerror(errno));
+    irc_send("PRIVMSG %s :CHECK -> invalid address: %s",
+             target->name, strerror(errno));
     return;
   }