summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-12-06 19:48:10 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-12-06 20:04:16 +0100
commitb402f8218b4c1fdc0225187de2e422387a95b149 (patch)
tree4ee7a14286b82caa15c0b57b9fd783285b89b413 /src/utils
parentc289737b405928aaeb329633fad377a19bc2e7ed (diff)
downloadmanaserv-b402f8218b4c1fdc0225187de2e422387a95b149.tar.gz
manaserv-b402f8218b4c1fdc0225187de2e422387a95b149.tar.xz
manaserv-b402f8218b4c1fdc0225187de2e422387a95b149.zip
Fixed name of the project in copyright headers
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/encryption.cpp13
-rw-r--r--src/utils/encryption.h13
-rw-r--r--src/utils/functors.h32
-rw-r--r--src/utils/logger.cpp26
-rw-r--r--src/utils/logger.h26
-rw-r--r--src/utils/mathutils.cpp26
-rw-r--r--src/utils/mathutils.h26
-rw-r--r--src/utils/processorutils.cpp26
-rw-r--r--src/utils/processorutils.hpp26
-rw-r--r--src/utils/sha256.cpp13
-rw-r--r--src/utils/sha256.h13
-rw-r--r--src/utils/singleton.h26
-rw-r--r--src/utils/string.cpp26
-rw-r--r--src/utils/string.hpp26
-rw-r--r--src/utils/stringfilter.cpp26
-rw-r--r--src/utils/stringfilter.h26
-rw-r--r--src/utils/timer.cpp13
-rw-r--r--src/utils/timer.h26
-rw-r--r--src/utils/tokencollector.cpp28
-rw-r--r--src/utils/tokencollector.hpp26
-rw-r--r--src/utils/tokendispenser.cpp26
-rw-r--r--src/utils/tokendispenser.hpp26
-rw-r--r--src/utils/trim.hpp13
-rw-r--r--src/utils/xml.cpp13
-rw-r--r--src/utils/xml.hpp13
-rw-r--r--src/utils/zlib.cpp13
-rw-r--r--src/utils/zlib.hpp13
27 files changed, 282 insertions, 298 deletions
diff --git a/src/utils/encryption.cpp b/src/utils/encryption.cpp
index 38ee01a..38503bb 100644
--- a/src/utils/encryption.cpp
+++ b/src/utils/encryption.cpp
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2008 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2008 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "encryption.h"
diff --git a/src/utils/encryption.h b/src/utils/encryption.h
index 656bffa..52d6d05 100644
--- a/src/utils/encryption.h
+++ b/src/utils/encryption.h
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2008 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2008 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UTILS_ENCRYPTION_H
diff --git a/src/utils/functors.h b/src/utils/functors.h
index 5fae121..92edd09 100644
--- a/src/utils/functors.h
+++ b/src/utils/functors.h
@@ -1,36 +1,33 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FUNCTORS_H
#define FUNCTORS_H
-
#include <functional>
#include <sstream>
#include <string>
-
namespace
{
-
/**
* Functor used for the search of an object by name in a list.
*
@@ -51,7 +48,6 @@ struct obj_name_is
}
};
-
/**
* Functor to convert a string into another type using
* std::istringstream.operator>>().
@@ -70,8 +66,6 @@ struct string_to: public std::unary_function<std::string, T>
}
};
-
} // anonymous namespace
-
#endif // FUNCTORS_H
diff --git a/src/utils/logger.cpp b/src/utils/logger.cpp
index e3b48c3..b9c8d61 100644
--- a/src/utils/logger.cpp
+++ b/src/utils/logger.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "logger.h"
diff --git a/src/utils/logger.h b/src/utils/logger.h
index f19f5b7..3b3ca75 100644
--- a/src/utils/logger.h
+++ b/src/utils/logger.h
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LOGGER_H
diff --git a/src/utils/mathutils.cpp b/src/utils/mathutils.cpp
index 9024a40..2977f87 100644
--- a/src/utils/mathutils.cpp
+++ b/src/utils/mathutils.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mathutils.h"
diff --git a/src/utils/mathutils.h b/src/utils/mathutils.h
index 3b49b7e..032908b 100644
--- a/src/utils/mathutils.h
+++ b/src/utils/mathutils.h
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MATHUTILS_H
diff --git a/src/utils/processorutils.cpp b/src/utils/processorutils.cpp
index 0c2cf5b..841b15a 100644
--- a/src/utils/processorutils.cpp
+++ b/src/utils/processorutils.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "utils/processorutils.hpp"
diff --git a/src/utils/processorutils.hpp b/src/utils/processorutils.hpp
index e619066..e89e85c 100644
--- a/src/utils/processorutils.hpp
+++ b/src/utils/processorutils.hpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PROCESSORUTILS_HPP
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index 4f292c9..a5bd042 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -1,22 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2008 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2008 The Mana World Development Team
*
- * This file has been slighly modified as part of The Mana World.
+ * This file has been slighly modified as part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
/* +------------------------------------+
diff --git a/src/utils/sha256.h b/src/utils/sha256.h
index d861d75..0959888 100644
--- a/src/utils/sha256.h
+++ b/src/utils/sha256.h
@@ -1,22 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UTILS_SHA256_H
diff --git a/src/utils/singleton.h b/src/utils/singleton.h
index 7405c76..fd3e4dd 100644
--- a/src/utils/singleton.h
+++ b/src/utils/singleton.h
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SINGLETON_H
diff --git a/src/utils/string.cpp b/src/utils/string.cpp
index 1e5cb5b..d5e6d22 100644
--- a/src/utils/string.cpp
+++ b/src/utils/string.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "utils/string.hpp"
diff --git a/src/utils/string.hpp b/src/utils/string.hpp
index 62c0f2f..448376f 100644
--- a/src/utils/string.hpp
+++ b/src/utils/string.hpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UTILS_STRING_HPP
diff --git a/src/utils/stringfilter.cpp b/src/utils/stringfilter.cpp
index 6b6a231..7356514 100644
--- a/src/utils/stringfilter.cpp
+++ b/src/utils/stringfilter.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
diff --git a/src/utils/stringfilter.h b/src/utils/stringfilter.h
index c871a4d..d9a648d 100644
--- a/src/utils/stringfilter.h
+++ b/src/utils/stringfilter.h
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SLANGSFILTER_H
diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp
index 5179193..ba2c607 100644
--- a/src/utils/timer.cpp
+++ b/src/utils/timer.cpp
@@ -1,22 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "timer.h"
diff --git a/src/utils/timer.h b/src/utils/timer.h
index 32b7260..7c445b1 100644
--- a/src/utils/timer.h
+++ b/src/utils/timer.h
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TIMER_H
diff --git a/src/utils/tokencollector.cpp b/src/utils/tokencollector.cpp
index df21e63..12624dd 100644
--- a/src/utils/tokencollector.cpp
+++ b/src/utils/tokencollector.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "utils/tokencollector.hpp"
@@ -95,7 +95,7 @@ void TokenCollectorBase::removeOutdated(time_t current)
if (threshold < mLastCheck) return;
std::list<Item>::iterator it;
-
+
it = mPendingConnects.begin();
while (it != mPendingConnects.end() && it->timeStamp < threshold)
{
diff --git a/src/utils/tokencollector.hpp b/src/utils/tokencollector.hpp
index 6a6fdd3..4481910 100644
--- a/src/utils/tokencollector.hpp
+++ b/src/utils/tokencollector.hpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TOKENCOLLECTOR_HPP
diff --git a/src/utils/tokendispenser.cpp b/src/utils/tokendispenser.cpp
index b2052ad..a05821b 100644
--- a/src/utils/tokendispenser.cpp
+++ b/src/utils/tokendispenser.cpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include "utils/tokendispenser.hpp"
diff --git a/src/utils/tokendispenser.hpp b/src/utils/tokendispenser.hpp
index 6638cc5..3dfad39 100644
--- a/src/utils/tokendispenser.hpp
+++ b/src/utils/tokendispenser.hpp
@@ -1,21 +1,21 @@
/*
- * The Mana World Server
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TOKENDISPENSER_HPP
diff --git a/src/utils/trim.hpp b/src/utils/trim.hpp
index 4f5600c..11fbcc6 100644
--- a/src/utils/trim.hpp
+++ b/src/utils/trim.hpp
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2007 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2007 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UTILS_TRIM_HPP
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index 5538027..43c6c2b 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2006 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2006 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cstdlib>
diff --git a/src/utils/xml.hpp b/src/utils/xml.hpp
index fa0c6cb..1ffe6fa 100644
--- a/src/utils/xml.hpp
+++ b/src/utils/xml.hpp
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef XML_H
diff --git a/src/utils/zlib.cpp b/src/utils/zlib.cpp
index 00cc4c0..a6d9020 100644
--- a/src/utils/zlib.cpp
+++ b/src/utils/zlib.cpp
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2006 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2006 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cstdlib>
diff --git a/src/utils/zlib.hpp b/src/utils/zlib.hpp
index e74b9f5..ee6a9de 100644
--- a/src/utils/zlib.hpp
+++ b/src/utils/zlib.hpp
@@ -1,22 +1,21 @@
/*
- * The Mana World
- * Copyright 2006 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2006 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify
+ * The Mana Server is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * The Mana World is distributed in the hope that it will be useful,
+ * The Mana Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ZLIB_HPP