Event '376' (End of MOTD) not getting sent?

These are old archives. They are kept for historic purposes only.
Post Reply
misutowolf
Posts: 2
Joined: Sun Jun 08, 2008 3:19 pm

Event '376' (End of MOTD) not getting sent?

Post by misutowolf »

Hi. I'm writing a Perl bot and testing it on my server (running UnrealIRCD 3.2.7 on Debian Lenny), and for some reason, the bot isn't getting the End of MOTD event from the server.

I've tested said script on another server and it seems to be working fine, so I was just wondering if there's something up with UnrealIRCD, or what.

Any assistance would be greatly appreciated.
misutowolf
Posts: 2
Joined: Sun Jun 08, 2008 3:19 pm

Re: Event '376' (End of MOTD) not getting sent?

Post by misutowolf »

Yeah...I feel quite stupid. Apparently I was under the assumption that Unreal had a default MOTD already there (ircd.motd), but it didn't.

I had no MOTD for the server to send, so OBVIOUSLY the event wasn't being sent/triggered. Now that I've written one, everything works great!
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Event '376' (End of MOTD) not getting sent?

Post by Jobe »

As an idea, if you're using the end of MOTD numeric response as a signal that you're bot is fully connected, try using numeric 005 instead, as that is sent on nearly all if not all IRCd's ONLY after successful connection but regardless of MOTD state. Well 001 to 005 should be alright, but 005 to be sure.
Your IP: Image
Your Country: Image
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Event '376' (End of MOTD) not getting sent?

Post by Stealth »

Or look for the LUSERS numerics.
Post Reply