]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/nickserv.c
Added basic support to X3 for host hiding style 3
[irc/evilnet/x3.git] / src / nickserv.c
index 1ce3be7d5b7e119d883e012535e4a5f917fcf3ed..fdd1d53baa7f19dfeae17a7320f472b325c2085a 100644 (file)
@@ -969,7 +969,7 @@ generate_fakehost(struct handle_info *handle)
         if (data)
             style = atoi(data);
 
-        if (style == 1)
+        if ((style == 1) || (style == 3))
             snprintf(buffer, sizeof(buffer), "%s.%s", handle->handle, hidden_host_suffix);
         else if (style == 2) {
             /* Due to the way fakehost is coded theres no way i can