diff options
Diffstat (limited to 'src/hostserv.c')
| -rw-r--r-- | src/hostserv.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/hostserv.c b/src/hostserv.c index a8a802a56..ac42fd8ae 100644 --- a/src/hostserv.c +++ b/src/hostserv.c @@ -6,9 +6,9 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * - * $Id$ + * Based on the original code of Services by Andy Church. + * + * $Id$ * */ @@ -104,7 +104,7 @@ HostCore *createHostCorelist(HostCore * next, char *nick, char *vIdent, next = (HostCore *)malloc(sizeof(HostCore)); if (next == NULL) { - anope_SendGlobops(s_HostServ, + ircdproto->SendGlobops(s_HostServ, "Unable to allocate memory to create the vHost LL, problems i sense.."); } else { next->nick = (char *)malloc(sizeof(char) * strlen(nick) + 1); @@ -114,7 +114,7 @@ HostCore *createHostCorelist(HostCore * next, char *nick, char *vIdent, next->vIdent = (char *)malloc(sizeof(char) * strlen(vIdent) + 1); if ((next->nick == NULL) || (next->vHost == NULL) || (next->creator == NULL)) { - anope_SendGlobops(s_HostServ, + ircdproto->SendGlobops(s_HostServ, "Unable to allocate memory to create the vHost LL, problems i sense.."); return NULL; } @@ -123,7 +123,7 @@ HostCore *createHostCorelist(HostCore * next, char *nick, char *vIdent, strcpy(next->creator, creator); if (vIdent) { if ((next->vIdent == NULL)) { - anope_SendGlobops(s_HostServ, + ircdproto->SendGlobops(s_HostServ, "Unable to allocate memory to create the vHost LL, problems i sense.."); return NULL; } @@ -192,7 +192,7 @@ HostCore *insertHostCore(HostCore * head, HostCore * prev, char *nick, newCore = (HostCore *)malloc(sizeof(HostCore)); if (newCore == NULL) { - anope_SendGlobops(s_HostServ, + ircdproto->SendGlobops(s_HostServ, "Unable to allocate memory to insert into the vHost LL, problems i sense.."); return NULL; } else { @@ -203,7 +203,7 @@ HostCore *insertHostCore(HostCore * head, HostCore * prev, char *nick, newCore->vIdent = (char *)malloc(sizeof(char) * strlen(vIdent) + 1); if ((newCore->nick == NULL) || (newCore->vHost == NULL) || (newCore->creator == NULL)) { - anope_SendGlobops(s_HostServ, + ircdproto->SendGlobops(s_HostServ, "Unable to allocate memory to create the vHost LL, problems i sense.."); return NULL; } @@ -212,7 +212,7 @@ HostCore *insertHostCore(HostCore * head, HostCore * prev, char *nick, strcpy(newCore->creator, creator); if (vIdent) { if ((newCore->vIdent == NULL)) { - anope_SendGlobops(s_HostServ, + ircdproto->SendGlobops(s_HostServ, "Unable to allocate memory to create the vHost LL, problems i sense.."); return NULL; } @@ -463,7 +463,7 @@ void load_hs_dbase_v3(dbFILE * f) restore_db(f); \ log_perror("Write error on %s", HostDBName); \ if (time(NULL) - lastwarn > WarningTimeout) { \ - anope_SendGlobops(NULL, "Write error on %s: %s", HostDBName, \ + ircdproto->SendGlobops(NULL, "Write error on %s: %s", HostDBName, \ strerror(errno)); \ lastwarn = time(NULL); \ } \ @@ -607,7 +607,7 @@ int is_host_remover(User * u) } /* - * Sets the last_usermak properly. Using virtual ident and/or host + * Sets the last_usermak properly. Using virtual ident and/or host */ void set_lastmask(User * u) { |
