fixed up aliases
This commit is contained in:
parent
6f5b30bdb6
commit
490adcbf13
2 changed files with 6 additions and 4 deletions
|
@ -8,6 +8,8 @@ Symbols are:
|
|||
(HP) - Merged in Hybrid rc4 Patches (including Rc3 and Rc3 fixes)
|
||||
(F) - Fixed up Persistant Channels.
|
||||
(F) - Fixed up configure problem when it can't find msgfmt
|
||||
(F) - Fixed up services problem
|
||||
(F) - Fixed up aliases
|
||||
|
||||
* NeoIRCd Version 0.9.2 - 17th Sept, 2002 - Fish
|
||||
(F) - Fixed a problem with servers setting modes
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: m_alias.c,v 1.2 2002/09/20 09:05:18 fishwaldo Exp $
|
||||
* $Id: m_alias.c,v 1.3 2002/09/20 14:03:24 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
/* List of ircd includes from ../include/ */
|
||||
|
@ -130,7 +130,7 @@ _moddeinit(void)
|
|||
|
||||
/* When we last modified the file (shown in /modlist), this is usually:
|
||||
*/
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -186,7 +186,7 @@ static void m_identify(struct Client *client_p, struct Client *source_p,
|
|||
target_p = find_person(NICKSERV);
|
||||
if ((target_p != NULL) && (IsServices(target_p))) {
|
||||
/* send the message */
|
||||
sendto_one(target_p, ":%s PRIVMSG %s@%s :identify %s", source_p->name, target_p->name, target_p->from->name, parv[1]);
|
||||
sendto_one(target_p, ":%s PRIVMSG %s@%s :identify %s", source_p->name, target_p->name, target_p->servptr->name, parv[1]);
|
||||
return;
|
||||
} else {
|
||||
sendto_one(source_p, ":%s 440 %s %s :Services are currently down. Please try again later.", me.name, source_p->name, NICKSERV);
|
||||
|
@ -244,7 +244,7 @@ static void send_alias (char *who, struct Client *client_p, struct Client *sourc
|
|||
|
||||
if ((target_p != NULL) && (IsServices(target_p))) {
|
||||
/* send the message */
|
||||
sendto_one(target_p, ":%s PRIVMSG %s@%s :%s", source_p->name, target_p->name, target_p->from->name, parv[1]);
|
||||
sendto_one(target_p, ":%s PRIVMSG %s@%s :%s", source_p->name, target_p->name, target_p->servptr->name, parv[1]);
|
||||
} else {
|
||||
sendto_one(source_p, ":%s 440 %s %s :Services are currently down. Please try again later.", me.name, source_p->name, who);
|
||||
return;
|
||||
|
|
Reference in a new issue