Commit graph

1505 commits

Author SHA1 Message Date
xboi209
9cd2ef2b4b Updated docs files to use markdown 2015-10-16 17:13:24 -07:00
xboi209
ce56cf1619 Uncomment max_accounts in bnetd.conf 2015-10-12 16:03:39 -07:00
xboi209
9e3ba4e31a Use trace instead of error in friendlist_close() 2015-10-12 15:35:36 -07:00
xboi209
a5c1a8ed1e Revert account_set_rawattr() which caused a crash when creating a new account in WC3 2015-10-12 15:33:05 -07:00
xboi209
fc3080f447 Merge branch 'master' of https://github.com/xboi209/pvpgn.git 2015-10-10 13:54:34 -07:00
xboi209
33b4b61c95 Pass compiler flags for Clang 2015-10-10 13:54:31 -07:00
xboi209
0cb70c3264 Merge pull request #12 from pvpgn/master
Sync with HarpyWar
2015-10-09 20:44:53 -07:00
xboi209
5a455db8e2 Remove the -ansi flag 2015-10-09 20:41:08 -07:00
xboi209
664923370d Forgot to remove snprintf.cpp from compat/CMakeLists.txt 2015-10-09 20:23:21 -07:00
xboi209
7ba2bfab8b Rewrite account_wrap.cpp to use std::string()'s 2015-10-09 20:17:28 -07:00
xboi209
1aa1ecab6a Remove snprintf shim 2015-10-09 15:54:45 -07:00
xboi209
28752e8bd8 Optimized munge() by not calling strlen() in loop 2015-10-01 04:51:58 -07:00
xboi209
e45f503d2f Created a reference for topic->topicstr in class_topic::display() 2015-10-01 04:50:10 -07:00
xboi209
b907b28f51 Removed check for non-null pointer 2015-10-01 04:45:28 -07:00
xboi209
cfb327493d Corrected wrong format specifiers 2015-10-01 04:42:19 -07:00
xboi209
5a788bf6ce Optimized various functions in topic.cpp by declaring function parameters as constant 2015-10-01 04:36:06 -07:00
xboi209
6fdca215fc Removed unused variable 'when' 2015-10-01 04:32:35 -07:00
xboi209
a8bd7f2f0f Optimized tournament_init() by not calling strlen() in loop 2015-10-01 04:32:15 -07:00
xboi209
f2ddd3c6f5 Optimized customicons_load() by not calling strlen() in loop 2015-10-01 04:31:31 -07:00
xboi209
e477de2052 Removed check for non-null pointer 2015-10-01 04:28:44 -07:00
xboi209
a18107407f Removed check for non-null pointer 2015-10-01 04:28:26 -07:00
xboi209
4844c0c989 Optimized checks for empty strings 2015-10-01 04:24:28 -07:00
xboi209
c0db97afd6 Optimized versioncheck_compare_exeinfo() by not calling strlen() on every loop 2015-10-01 04:20:04 -07:00
xboi209
9948a600fc Optimized userlog_read() by not calling strlen() on every loop 2015-10-01 04:19:13 -07:00
xboi209
8be043e97e Optimized userlog_append() by not calling strlen() on every loop 2015-10-01 04:17:25 -07:00
xboi209
973141b193 Removed unused variable 'token' 2015-10-01 04:16:03 -07:00
xboi209
18c6de18da Removed unused variable 'istr' 2015-10-01 04:15:42 -07:00
xboi209
5f65085527 Optimized ipban_could_be_ip_str() by not calling strlen() on every loop 2015-10-01 04:15:18 -07:00
xboi209
b21db674c9 Optimized file_find_localized() by not calling strlen() on every loop 2015-10-01 04:13:39 -07:00
xboi209
6262ec0f01 Optimized replace_args() by not calling strlen() on every loop 2015-10-01 04:12:13 -07:00
xboi209
7c8f939bc1 Optimized account_check_name() by not calling strlen() on every loop 2015-10-01 04:10:21 -07:00
xboi209
39f58d3c9f Removed unused variable 'clients' 2015-10-01 04:08:05 -07:00
xboi209
a717515e7a Corrected wrong format specifiers 2015-10-01 04:03:57 -07:00
xboi209
2bda96bbc4 Corrected wrong format specifier 2015-10-01 04:01:57 -07:00
xboi209
8ea6bfe401 Corrected wrong format specifiers 2015-10-01 04:00:44 -07:00
xboi209
4cf7bb0cb2 Added explicit check for strcasecmp()'s return value 2015-10-01 03:59:49 -07:00
xboi209
0e7941a774 Corrected wrong format specifiers 2015-10-01 03:56:45 -07:00
xboi209
73ec155553 Corrected wrong format specifier 2015-10-01 03:55:06 -07:00
xboi209
b17bbe7a2f Corrected wrong format specifiers in anongame_wol.cpp 2015-10-01 03:51:49 -07:00
xboi209
c99246bcf4 Check the return value of LoadLibrary() 2015-10-01 03:49:40 -07:00
xboi209
5d279da11f Removed useless check for 'clan' 2015-10-01 03:46:30 -07:00
xboi209
289272945a 'filenamestk' is always not equal to a null pointer, remove check 2015-10-01 03:43:01 -07:00
xboi209
11e2b9fd94 - Minor code improvements to the Topics system
- Empty lines in the topic file no longer displays an error in the eventlog
- Added checks for duplicate lines in the topic file
- Optimized code to only write data from memory to the topic file if it doesn't already exist
2015-09-27 22:40:54 -07:00
HarpyWar
38f36b28ee automate windows builds for all storage types 2015-09-23 22:14:02 +03:00
HarpyWar
200ec3b48d fix error with cmake 3.3 when parsing string with brackets
"$ENV{PROGRAMFILES(x86)}/MySQL/*/include"
2015-09-23 22:11:05 +03:00
xboi209
db3c77558d Merge pull request #172 from xboi209/master
Various changes
2015-09-22 18:13:45 -07:00
xboi209
de13ce5351 Unreferenced local variable 'i' in sha1hash.cpp 2015-09-22 17:29:53 -07:00
xboi209
4b61afde1b Unreferenced local variable 'i' in bnchat.cpp 2015-09-22 17:29:34 -07:00
xboi209
1ee46e84ea Fixed truncation warnings in i18n.cpp 2015-09-22 17:28:50 -07:00
xboi209
9d126f9cc8 Return bool type in conn_wol_get_findme() and conn_wol_get_pageme() 2015-09-22 17:21:45 -07:00