mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5256 e03df62e-2008-0410-955e-edbf42e46eb7
35 lines
937 B
C++
35 lines
937 B
C++
/* +------------------------------------+
|
|
* | Inspire Internet Relay Chat Daemon |
|
|
* +------------------------------------+
|
|
*
|
|
* InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
|
|
* E-mail:
|
|
* <brain@chatspike.net>
|
|
* <Craig@chatspike.net>
|
|
*
|
|
* Written by Craig Edwards, Craig McLure, and others.
|
|
* This program is free but copyrighted software; see
|
|
* the file COPYING for details.
|
|
*
|
|
* ---------------------------------------------------
|
|
*/
|
|
|
|
#ifndef __CMD_JOIN_H__
|
|
#define __CMD_JOIN_H__
|
|
|
|
// include the common header files
|
|
|
|
#include "users.h"
|
|
#include "channels.h"
|
|
|
|
/** Handle /JOIN
|
|
*/
|
|
class cmd_join : public command_t
|
|
{
|
|
public:
|
|
cmd_join (InspIRCd* Instance) : command_t(Instance,"JOIN",0,1) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
|
|
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
|
|
};
|
|
|
|
#endif
|