projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow Network Services opping themselves and removed an old copyright message
[ircu2.10.12-pk.git]
/
ircd
/
ircd.c
diff --git
a/ircd/ircd.c
b/ircd/ircd.c
index 693ac88e0f68109fcbf1bde830e9411040582392..f5f0eeb54d513403c0885f549129d52cb851895c 100644
(file)
--- a/
ircd/ircd.c
+++ b/
ircd/ircd.c
@@
-112,7
+112,7
@@
time_t CurrentTime; /**< Updated every time we leave select(
char *configfile = CPATH; /**< Server configuration file */
int debuglevel = -1; /**< Server debug level */
char *debugmode = ""; /**< Server debug level */
char *configfile = CPATH; /**< Server configuration file */
int debuglevel = -1; /**< Server debug level */
char *debugmode = ""; /**< Server debug level */
-
char
*dpath = DPATH; /**< Working directory for daemon */
+
static char
*dpath = DPATH; /**< Working directory for daemon */
static char *dbg_client; /**< Client specifier for chkconf */
static struct Timer connect_timer; /**< timer structure for try_connections() */
static char *dbg_client; /**< Client specifier for chkconf */
static struct Timer connect_timer; /**< timer structure for try_connections() */
@@
-623,7
+623,6
@@
static int set_userid_if_needed(void) {
int main(int argc, char **argv) {
CurrentTime = time(NULL);
printf("Starting IRCu 2.10.12.10 by pk910.\n");
int main(int argc, char **argv) {
CurrentTime = time(NULL);
printf("Starting IRCu 2.10.12.10 by pk910.\n");
- printf("you are not allowed to use this version without my permission\n");
thisServer.argc = argc;
thisServer.argv = argv;
thisServer.uid = getuid();
thisServer.argc = argc;
thisServer.argv = argv;
thisServer.uid = getuid();