The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

cmd_motd.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
00002  *       | Inspire Internet Relay Chat Daemon |
00003  *       +------------------------------------+
00004  *
00005  *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
00006  * See: http://www.inspircd.org/wiki/index.php/Credits
00007  *
00008  * This program is free but copyrighted software; see
00009  *      the file COPYING for details.
00010  *
00011  * ---------------------------------------------------
00012  */
00013 
00014 #ifndef __CMD_MOTD_H__
00015 #define __CMD_MOTD_H__
00016 
00017 // include the common header files
00018 
00019 #include <string>
00020 #include <vector>
00021 #include "inspircd.h"
00022 #include "users.h"
00023 #include "channels.h"
00024 
00030 class CommandMotd : public Command
00031 {
00032  public:
00035         CommandMotd (InspIRCd* Instance) : Command(Instance,"MOTD",0,0) { syntax = "[<servername>]"; }
00042         CmdResult Handle(const std::vector<std::string>& parameters, User *user);
00043 };
00044 
00045 #endif