]> jfr.im git - solanum.git/blobdiff - bandb/bandb.c
bandb: use _WIN32 guards where appropriate
[solanum.git] / bandb / bandb.c
index 6731136b163791b4a4f56ef3cef9857a988a6e6e..7f7688d9e1d764ebdf49505fa14da8b997c8e053 100644 (file)
  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * $Id: bandb.c 26094 2008-09-19 15:33:46Z androsyn $
  */
 #include "setup.h"
-#include <ratbox_lib.h>
+#include <rb_lib.h>
 #include <stdio.h>
 #include "rsdb.h"
 #include "common.h"
@@ -257,7 +255,7 @@ dummy_handler(int sig)
 static void
 setup_signals(void)
 {
-#ifndef WINDOWS
+#ifndef _WIN32
        struct sigaction act;
 
        act.sa_flags = 0;
@@ -302,10 +300,9 @@ main(int argc, char *argv[])
        if(bandb_helper == NULL)
        {
                fprintf(stderr,
-                       "This is ircd-ratbox bandb.  You aren't supposed to run me directly. Maybe you want bantool?\n");
+                       "This is the charybdis bandb for internal ircd use.\n");
                fprintf(stderr,
-                       "However I will print my Id tag $Id: bandb.c 26094 2008-09-19 15:33:46Z androsyn $\n");
-               fprintf(stderr, "Have a nice day\n");
+                       "You aren't supposed to run me directly (did you want bantool?). Exiting.\n");
                exit(1);
        }
        rsdb_init(db_error_cb);